NEZ-604 fix: alert-message相关

This commit is contained in:
chenjinsong
2021-05-10 19:47:29 +08:00
parent 8985c42789
commit bc90a4fdaa
4 changed files with 49 additions and 16 deletions

View File

@@ -128,7 +128,7 @@ import table from '@/components/common/mixin/table'
import nzAlertTag from '../../../page/alert/nzAlertTag'
import chartDataFormat from '../../../charts/chartDataFormat'
import alertRuleInfo from '../../alert/alertRuleInfo'
import alertLabel from '../../alert/alertLabel'
import alertLabel from '../../alert/alertLabel2'
import { calcDurationByStringTimeB } from '../../js/tools'
export default {
name: 'alertMessageTable',
@@ -260,9 +260,9 @@ export default {
delete labels[key]
}
}
Object.keys(labels).sort().forEach(key => {
/* Object.keys(labels).sort().forEach(key => {
result.push({ label: key, value: labels[key] })
})
}) */
return result
},
chartUnitChange: function (unit) {