fix: 修复更换数据集视图编辑区域偶尔显示遮罩

This commit is contained in:
wangjiahao 2022-04-06 13:01:18 +08:00
parent bc03602cbc
commit 489db4d37d

View File

@ -2197,6 +2197,7 @@ export default {
// //
changeChart() { changeChart() {
this.view.dataFrom = 'dataset'
if (this.view.tableId !== this.changeTable.id) { if (this.view.tableId !== this.changeTable.id) {
this.view.tableId = this.changeTable.id this.view.tableId = this.changeTable.id
this.view.xaxis = [] this.view.xaxis = []
@ -2207,7 +2208,6 @@ export default {
this.view.extStack = [] this.view.extStack = []
this.view.extBubble = [] this.view.extBubble = []
this.view.drillFields = [] this.view.drillFields = []
this.view.dataFrom = 'dataset'
} }
// this.save(true, 'chart', false) // this.save(true, 'chart', false)
this.calcData(true, 'chart', false) this.calcData(true, 'chart', false)