Merge pull request #601 from dataease/pr@dev@feat_chartDrill

feat: 视图下钻
This commit is contained in:
XiaJunjie2020 2021-08-12 14:18:50 +08:00 committed by GitHub
commit c8fb6dc5c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)