forked from github/dataease
Merge pull request #300 from dataease/pr@dev@fix_视图中数据集字段
fix: 视图中数据集字段
This commit is contained in:
commit
18a24f8e2d
@ -710,7 +710,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.resetView()
|
this.resetDatasetField()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
save(getData, trigger, needRefreshGroup = false) {
|
save(getData, trigger, needRefreshGroup = false) {
|
||||||
@ -1190,11 +1190,14 @@ export default {
|
|||||||
hideTab() {
|
hideTab() {
|
||||||
this.tabStatus = false
|
this.tabStatus = false
|
||||||
},
|
},
|
||||||
resetView() {
|
resetDatasetField() {
|
||||||
this.dimension = []
|
this.dimension = []
|
||||||
this.dimensionData = []
|
this.dimensionData = []
|
||||||
this.quota = []
|
this.quota = []
|
||||||
this.quotaData = []
|
this.quotaData = []
|
||||||
|
},
|
||||||
|
resetView() {
|
||||||
|
this.resetDatasetField()
|
||||||
this.view = {
|
this.view = {
|
||||||
xAxis: [],
|
xAxis: [],
|
||||||
yAxis: [],
|
yAxis: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user