fix:alertMessage后台报错&project-chart刷新图表legend依然为灰色的问题

This commit is contained in:
wangwenrui
2020-10-13 14:25:27 +08:00
parent a32cc3897b
commit 48312bf254
4 changed files with 4 additions and 1 deletions

View File

@@ -381,6 +381,7 @@
methods: {
labelsSort:function(obj){
let buildIn=['asset','endpoint','module','project','datacenter']
if(typeof obj == "string") obj=JSON.parse(obj)
let labels=JSON.parse(JSON.stringify(obj));
let result=[];
for(let key of buildIn){