Merge pull request #2055 from dataease/pr@dev@fix_chart-switch

fix: 修复更换数据集视图编辑区域偶尔显示遮罩
This commit is contained in:
王嘉豪 2022-04-06 13:02:16 +08:00 committed by GitHub
commit b333a4ae0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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