forked from github/dataease
feat: 视图下钻
This commit is contained in:
parent
dbf87fb68c
commit
a8cd74434b
@ -266,9 +266,6 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
resetDrill() {
|
||||
this.drillClickDimensionList = []
|
||||
},
|
||||
drillJump(index) {
|
||||
this.drillClickDimensionList = this.drillClickDimensionList.slice(0, index)
|
||||
this.getData(this.element.propValue.viewId)
|
||||
|
@ -757,10 +757,10 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
'param': function() {
|
||||
this.resetDrill()
|
||||
if (this.param.optType === 'new') {
|
||||
//
|
||||
} else {
|
||||
this.resetDrill()
|
||||
this.getData(this.param.id)
|
||||
}
|
||||
},
|
||||
@ -909,8 +909,8 @@ export default {
|
||||
// this.get(response.data.id);
|
||||
// this.getData(response.data.id)
|
||||
|
||||
this.resetDrill()
|
||||
if (getData) {
|
||||
this.resetDrill()
|
||||
this.getData(response.data.id)
|
||||
} else {
|
||||
this.getChart(response.data.id)
|
||||
|
Loading…
Reference in New Issue
Block a user