fix: 修改charttemp的国际化的问题

This commit is contained in:
zhangyu
2021-11-05 11:09:25 +08:00
parent 68c426bd1d
commit fdeb00750c
2 changed files with 5 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ export default {
},
findTypeLabel (row) {
const typeItem = this.chartTypeList.find(title => title.value === row.type)
return typeItem ? typeItem.label : '-'
return typeItem ? this.$t(typeItem.label) : '-'
}
}
}