fix: 暂时去掉promql联想;删除几个console.log

This commit is contained in:
陈劲松
2020-11-20 14:44:44 +08:00
committed by chenjinsong
parent 246eafc57c
commit e058fd1b58
3 changed files with 7 additions and 5 deletions

View File

@@ -1396,8 +1396,10 @@
this.clearChart();
//const addChartBox = document.querySelector('.right-box-add-chart');
//addChartBox.style.cssText = this.oldChartBoxCss;
this.echartModalStore.off('magictypechanged');
this.$refs.screenLegendArea._ps_.destroy();
try {
this.echartModalStore.off('magictypechanged');
} finally {}
this.$refs.screenLegendArea._ps_ && this.$refs.screenLegendArea._ps_.destroy();
},
};