diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index f0ef6e4f13..e89b31708f 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -266,9 +266,6 @@ export default { } }, - resetDrill() { - this.drillClickDimensionList = [] - }, drillJump(index) { this.drillClickDimensionList = this.drillClickDimensionList.slice(0, index) this.getData(this.element.propValue.viewId) diff --git a/frontend/src/views/chart/view/ChartEdit.vue b/frontend/src/views/chart/view/ChartEdit.vue index 555e744fa2..9ce904ffea 100644 --- a/frontend/src/views/chart/view/ChartEdit.vue +++ b/frontend/src/views/chart/view/ChartEdit.vue @@ -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)