n20-common-lib 2.5.19 → 2.5.21

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.5.19",
3
+ "version": "2.5.21",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -57,9 +57,9 @@
57
57
  :width="column.width"
58
58
  :align="column.align"
59
59
  :show-overflow-tooltip="column.showOverflowTooltip"
60
+ :formatter="item.formatter | colfF(item.formatterMap)"
60
61
  >
61
62
  <template slot-scope="scope">
62
- <!-- eslint-disable-next-line vue/no-v-html -->
63
63
  <span v-html="scope.row[column.prop]"></span>
64
64
  </template>
65
65
  </el-table-column>
@@ -101,6 +101,7 @@
101
101
 
102
102
  <script>
103
103
  import { $lc } from '../../utils/i18n/index'
104
+ import { colfF } from '../Table/filters.js'
104
105
  export default {
105
106
  name: 'UploadMsg',
106
107
  props: {
@@ -142,6 +143,9 @@ export default {
142
143
  default: false
143
144
  }
144
145
  },
146
+ filters: {
147
+ colfF
148
+ },
145
149
  computed: {
146
150
  progressV: {
147
151
  get() {
package/src/i18n.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "en": "Online preview is not supported, please"
13
13
  },
14
14
  "已选合计": {
15
- "en": "Selected total"
15
+ "en": "Total selected"
16
16
  },
17
17
  "天!": {
18
18
  "en": "God!"
@@ -288,7 +288,7 @@
288
288
  "en": "Article."
289
289
  },
290
290
  "笔数": {
291
- "en": "Number of pens"
291
+ "en": "Counts"
292
292
  },
293
293
  "重新上传": {
294
294
  "en": "upload again"
@@ -1880,4 +1880,4 @@
1880
1880
  "请先勾选要删除的数据!": {
1881
1881
  "en": "Please select the data to be deleted first!"
1882
1882
  }
1883
- }
1883
+ }