forked from github/dataease
fix: 【仪表板】编辑状态每次点击图表都会导致图表进行刷新
This commit is contained in:
parent
4f5e3df611
commit
1d51948462
@ -2106,8 +2106,10 @@ export default {
|
||||
x.sort = 'none'
|
||||
})
|
||||
}
|
||||
this.setChartDefaultOptions()
|
||||
this.calcData(true, 'chart', true, newVal.type !== oldVal.type, newVal.render !== oldVal.render)
|
||||
if (oldVal.id !== 'echart') {
|
||||
this.setChartDefaultOptions()
|
||||
this.calcData(true, 'chart', true, newVal.type !== oldVal.type, newVal.render !== oldVal.render)
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
Loading…
Reference in New Issue
Block a user