perf: endpoint-query、dashboard顶部搜索框调整等

1.endpoint-query、dashboard顶部搜索框间距调整
2.alertRule-module侧滑bug修复
This commit is contained in:
陈劲松
2020-03-16 14:14:31 +08:00
parent b394c75918
commit 425a6144c1
5 changed files with 12 additions and 11 deletions

View File

@@ -382,13 +382,14 @@
break;
case 2:
// this.fillProject(typeObj);
let tempObj = JSON.parse(typeObj.param)
this.$set(typeObj, 'paramObj', []);
for (let k in tempObj) {
typeObj.paramObj.push({key: k, value: tempObj[k]});
if (typeObj.param) {
let tempObj = JSON.parse(typeObj.param);
this.$set(typeObj, 'paramObj', []);
for (let k in tempObj) {
typeObj.paramObj.push({key: k, value: tempObj[k]});
}
}
this.viewModuleData = JSON.parse(JSON.stringify(typeObj));
this.$refs.moduleBox.show(true);
break;
case 3: