fix:补充国际化

This commit is contained in:
zhangyu
2022-03-30 16:37:39 +08:00
parent 8861effc7e
commit 27f9f37fe3

View File

@@ -622,7 +622,7 @@ export default {
const newLabel = showData.filter(item => { return !oldLabelTitle.find(t => { return item.label === t.label }) })
const keepLabel = oldLabelTitle.filter(item => showData.find(t => item.label === t.label))
let result = originalTitle.concat([{ label: 'Label', show: false, NotSet: true, type: 'title', prop: 'table-label' }])
let result = originalTitle.concat([{ label: this.$t('alert.list.labels'), show: false, NotSet: true, type: 'title', prop: 'table-label' }])
result = result.concat(keepLabel).concat(newLabel)
this.tools.customTableTitle = JSON.parse(JSON.stringify(result))