n20-common-lib 2.11.23 → 2.11.25

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": "n20-common-lib",
3
- "version": "2.11.23",
3
+ "version": "2.11.25",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -48,6 +48,7 @@
48
48
  :validate-result="validateResult"
49
49
  :validate-confirm="validateConfirm"
50
50
  @importError="importError"
51
+ @clearFiles="clearFiles"
51
52
  />
52
53
  </el-upload>
53
54
  </template>
@@ -203,6 +204,9 @@ export default {
203
204
  }
204
205
  },
205
206
  methods: {
207
+ clearFiles() {
208
+ this.$refs['upload'].clearFiles()
209
+ },
206
210
  importError() {
207
211
  this.$emit('importError')
208
212
  },
@@ -62,12 +62,7 @@
62
62
  :align="column.align"
63
63
  :show-overflow-tooltip="column.showOverflowTooltip"
64
64
  :formatter="column.formatter | colfF(column.formatterMap)"
65
- >
66
- <template slot-scope="scope">
67
- <!-- eslint-disable-next-line vue/no-v-html -->
68
- <span v-html="scope.row[column.prop]"></span>
69
- </template>
70
- </el-table-column>
65
+ />
71
66
  </el-table>
72
67
  <div v-if="pagination" class="flex-box flex-r m-t-ss m-b-ss">
73
68
  <Pagination
@@ -256,6 +251,7 @@ export default {
256
251
  },
257
252
  handleClose() {
258
253
  this.progressV = false
254
+ this.$emit('clearFiles')
259
255
  },
260
256
  getList() {
261
257
  const startIndex = (this.page.current - 1) * this.page.pageSize