From 3d5ffb8cfe2b90d7dce4f516811a0f9d30ddd7c2 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 11 Aug 2021 18:41:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BB=AA=E8=A1=A8=E6=9D=BF=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=A7=86=E5=9B=BE=E4=B8=8A=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/canvas/custom-component/UserView.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/canvas/custom-component/UserView.vue b/frontend/src/components/canvas/custom-component/UserView.vue index 390de3af56..f481795914 100644 --- a/frontend/src/components/canvas/custom-component/UserView.vue +++ b/frontend/src/components/canvas/custom-component/UserView.vue @@ -19,6 +19,9 @@ +
+ +
@@ -37,10 +40,11 @@ import { BASE_CHART_STRING } from '@/views/chart/chart/chart' import eventBus from '@/components/canvas/utils/eventBus' import { deepCopy } from '@/components/canvas/utils/utils' import { getToken, getLinkToken } from '@/utils/auth' +import DrillPath from '@/views/chart/view/DrillPath' export default { name: 'UserView', - components: { ChartComponent, TableNormal, LabelNormal }, + components: { ChartComponent, TableNormal, LabelNormal, DrillPath }, props: { element: { type: Object, @@ -79,7 +83,8 @@ export default { chart: BASE_CHART_STRING, requestStatus: 'waiting', message: null, - drillClickDimensionList: [] + drillClickDimensionList: [], + drillFilters: [] } }, computed: { @@ -198,6 +203,7 @@ export default { if (!response.data.drill) { this.drillClickDimensionList.splice(this.drillClickDimensionList.length - 1, 1) } + this.drillFilters = JSON.parse(JSON.stringify(response.data.drillFilters)) this.requestStatus = 'merging' this.mergeStyle() this.requestStatus = 'success'