fix: 处理国际化的问题

This commit is contained in:
zhangyu
2021-11-04 18:21:20 +08:00
parent 968a03c316
commit 897fb7673c
13 changed files with 20 additions and 19 deletions

View File

@@ -1007,7 +1007,7 @@ export default {
},
// Severity Label
returnSeverityLabel (key) {
return this.$CONSTANTS.alertMessage.severityData.find(s => { return s.value == key }).label
return this.$t(this.$CONSTANTS.alertMessage.severityData.find(s => { return s.value == key }).label)
},
getNodesArr () {
const arr = []