fix: project-query和metric preview里添加图表后顶部菜单高亮状态改变

This commit is contained in:
陈劲松
2020-02-11 11:30:56 +08:00
parent 8a63c091e1
commit ad78583ccc
5 changed files with 20 additions and 11 deletions

View File

@@ -435,7 +435,7 @@
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
this.$refs.chartForm.resetFields();//清空表单
let panel = this.panelData.find(p => p.id === this.panelId);
console.info("panel", panel)
//console.info("panel", panel)
this.$emit('on-create-success', 'create', response.data,params, panel);
} else {
this.$message.error(response.msg);
@@ -572,7 +572,7 @@
let dSet = this.$refs.chartTag;
this.$nextTick(() => {
dSet.forEach((item, index) => {
console.info('bbb', elementInfo.elements[index])
//console.info('bbb', elementInfo.elements[index])
item.setMdata(elementInfo.elements[index]);
});
});