fix:修复可能不存在legendValue报错的情况

This commit is contained in:
wangwenrui
2020-09-21 14:08:48 +08:00
parent 9faf907b3e
commit 0506338cb2

View File

@@ -1254,6 +1254,7 @@
this.setIsSingleStat();
} else {
this.setIsOtherChart();
n.param&&!n.param.legendValue&&this.$set(this.editChart.param,'legendValue',{min:'off',max:'off',avg:'off',last:'off',total:'off'})
}
//console.info(this.showPanel);
this.$set(this.editChart, "panelName", this.showPanel.name);