fix:pie treemap bar 添加legend 修改 stat刷新无效的问题

This commit is contained in:
zhangyu
2021-12-28 10:53:34 +08:00
parent 3c2d27b5aa
commit 210aea92f9
16 changed files with 239 additions and 63 deletions

View File

@@ -436,6 +436,9 @@ export default {
if (!this.editChart.param.link) {
this.$set(this.editChart.param, 'link', '')
}
if (this.editChart.param.enable.legend && !this.editChart.param.legend) {
this.editChart.param.legend = { placement: 'bottom', values: [], show: true }
}
}
}
},