NEZ-864 fix: 修复alert message列表 lables展示问题

This commit is contained in:
@changcode
2021-07-23 16:16:01 +08:00
parent 48cc2ae1fe
commit aae5b4cb8e
4 changed files with 7 additions and 11 deletions

View File

@@ -182,7 +182,7 @@ export default {
},
methods: {
labelsSort (obj) {
const buildIn = ['asset', 'endpoint', 'module', 'project', 'datacenter']
const buildIn = ['asset', 'endpoint', 'module', 'cpu', 'project', 'datacenter', 'parent_asset', 'user']
const labels = JSON.parse(JSON.stringify(obj))
const result = []
for (const key of buildIn) {