From 110c6857c8d389d271a843c85bf1b1494c371f4d Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Wed, 22 Nov 2023 13:49:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B0=86=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E5=92=8C=E8=BF=87=E6=BB=A4=E7=BB=84=E4=BB=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=88=B0=E9=80=89=E9=A1=B9=E5=8D=A1=E5=86=85=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E7=BB=84=E4=BB=B6=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E5=B0=86=E4=B8=8D=E7=94=9F=E6=95=88=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20#6777?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/customComponent/UserView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/frontend/src/components/canvas/customComponent/UserView.vue b/core/frontend/src/components/canvas/customComponent/UserView.vue index ff7d0aa98a..adcae86e46 100644 --- a/core/frontend/src/components/canvas/customComponent/UserView.vue +++ b/core/frontend/src/components/canvas/customComponent/UserView.vue @@ -374,7 +374,7 @@ export default { computed: { // 首次加载且非编辑状态新复制的视图,使用外部filter initLoad() { - return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad && this.canvasId === 'canvas-main' + return !(this.isEdit && this.currentCanvasNewId.includes(this.element.id)) && this.isFirstLoad }, scaleCoefficient() { if (this.terminal === 'pc' && !this.mobileLayoutStatus) { @@ -422,7 +422,7 @@ export default { }, filter() { const filter = {} - filter.filter = this.initLoad ? this.filters : this.cfilters + filter.filter = this.initLoad && this.cfilters?.length === 0 ? this.filters : this.cfilters filter.linkageFilters = this.element.linkageFilters filter.outerParamsFilters = this.element.outerParamsFilters filter.drill = this.drillClickDimensionList