fix: chartbox-preview、savechart回显等

This commit is contained in:
chenjinsong
2020-07-09 19:06:23 +08:00
parent 185f47212f
commit ea8dca30ae
3 changed files with 80 additions and 6 deletions

View File

@@ -349,7 +349,7 @@
if (chartItem.type === 'table') {//表格
this.setTableData([]);
} else if (chartItem.type === 'line' || chartItem.type === 'bar' || chartItem.type === 'stackArea' || chartItem.type === 4 || chartItem.type === "endpointInfo") {
this.setData(chartItem, []);
this.setData(chartItem, [], []);
}else if(chartItem.type ==='singleStat'){
this.serieSingleStat = "";
this.$refs.loadingPreview.endLoading();