CN-64 fix: entity左侧筛选框全为单选

This commit is contained in:
chenjinsong
2021-07-24 10:45:50 +08:00
parent 3cdb813fa8
commit 0539e1c90d
3 changed files with 69 additions and 54 deletions

View File

@@ -231,7 +231,7 @@ export default {
} else if (this.isEcharts) {
const dom = document.getElementById(`chart${this.chartInfo.id}`)
!this.myChart && (this.myChart = echarts.init(dom))
this.chartOption = JSON.parse(JSON.stringify(getOption(this.chart.type)))
this.chartOption = this.$_.cloneDeep(getOption(this.chart.type))
if (chartParams) {
if (this.isEchartsWithTable) {
this.initEchartsWithPieTable(chartParams)