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

@@ -590,7 +590,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)
}
/* plpsscrolly(el,self){
if (el._ps_.scrollbarYTop > 50) {