Merge pull request #300 from dataease/pr@dev@fix_视图中数据集字段

fix: 视图中数据集字段
This commit is contained in:
XiaJunjie2020 2021-07-23 10:45:57 +08:00 committed by GitHub
commit 18a24f8e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -710,7 +710,7 @@ export default {
return true
})
} else {
this.resetView()
this.resetDatasetField()
}
},
save(getData, trigger, needRefreshGroup = false) {
@ -1190,11 +1190,14 @@ export default {
hideTab() {
this.tabStatus = false
},
resetView() {
resetDatasetField() {
this.dimension = []
this.dimensionData = []
this.quota = []
this.quotaData = []
},
resetView() {
this.resetDatasetField()
this.view = {
xAxis: [],
yAxis: [],