Merge pull request #583 from dataease/pr@dev@feat_视图下钻

feat: 视图下钻
This commit is contained in:
XiaJunjie2020 2021-08-11 10:47:15 +08:00 committed by GitHub
commit 92c2cbd7a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1505,8 +1505,10 @@ export default {
},
chartClick(param) {
this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList })
this.getData(this.param.id)
if (this.drillClickDimensionList.length < this.view.drillFields.length - 1) {
this.drillClickDimensionList.push({ dimensionList: param.data.dimensionList })
this.getData(this.param.id)
}
},
resetDrill() {