fix: 修复endpoint-query改时间数据不刷新的问题

This commit is contained in:
陈劲松
2020-04-27 21:51:02 +08:00
parent e596dfbcce
commit e7932b3115
4 changed files with 6 additions and 2 deletions

View File

@@ -299,6 +299,11 @@
return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());
},
clearChart() {
if(this.chart) {
this.chart.clear();
}
}
},
mounted() {
this.chart=echarts.init(document.getElementById(this.chartId));