n20-common-lib 2.5.19 → 2.5.20

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.20",
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() {