fix: 修复endpoint-detail-state改时间会出错的问题

This commit is contained in:
陈劲松
2020-06-17 22:30:08 +08:00
parent 8c439ece91
commit 29b57265b6
3 changed files with 216 additions and 12 deletions

View File

@@ -222,7 +222,7 @@
show(chartInfo) {
this.isError = false;
this.searchTime = [new Date().setHours(new Date().getHours()-1),new Date()];
this.chart=chartInfo;
this.chart = JSON.parse(JSON.stringify(chartInfo));
let chartType= chartInfo.type;
let chartContainerId = 'chartEchartPreview';