t20-common-lib 0.14.6 → 0.14.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "t20-common-lib",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "description": "T20",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -72,9 +72,6 @@
72
72
  />
73
73
  </div>
74
74
  </div>
75
- <slot name="error" :validateResult="validateResult">
76
- <div class="color-warning m-t-s">上述数据输入有误,请修改导入文件中相关信息!</div>
77
- </slot>
78
75
  </template>
79
76
  </template>
80
77
  </div>
@@ -198,8 +198,9 @@ export default {
198
198
  },
199
199
  expectedHeaderForColumn(col) {
200
200
  const label = String(col.label == null ? '' : col.label).trim()
201
- const required = col.required === true
202
- return required ? `* ${label}` : label
201
+ // const required = col.required === true
202
+ // return required ? `* ${label}` : label
203
+ return label
203
204
  },
204
205
  buildSheetPayload(headers, rows, columnTree) {
205
206
  const leafCols = this.flattenLeafColumns(columnTree)