feat: 视图下钻

This commit is contained in:
junjie 2021-08-12 14:18:04 +08:00
parent dbf87fb68c
commit a8cd74434b
2 changed files with 2 additions and 5 deletions

View File

@ -266,9 +266,6 @@ export default {
}
},
resetDrill() {
this.drillClickDimensionList = []
},
drillJump(index) {
this.drillClickDimensionList = this.drillClickDimensionList.slice(0, index)
this.getData(this.element.propValue.viewId)

View File

@ -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)