From 91e5ce11aa695a5783a20f47e36e1ad49d311b87 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Thu, 29 May 2025 16:50:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF=E3=80=81?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A4=A7=E5=B1=8F):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=BB=84=E5=AF=BC=E5=87=BA=E6=A8=A1=E7=89=88?= =?UTF-8?q?=E6=9C=AA=E5=AF=BC=E5=87=BA=E5=9B=BE=E7=89=87=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20#16162?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/imgUtils.ts | 3 ++- .../src/views/chart/components/editor/index.vue | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/utils/imgUtils.ts b/core/core-frontend/src/utils/imgUtils.ts index 1c1c40ea65..ff450316d6 100644 --- a/core/core-frontend/src/utils/imgUtils.ts +++ b/core/core-frontend/src/utils/imgUtils.ts @@ -174,7 +174,8 @@ function findStaticSourceInner(componentDataInfo, staticResource) { ) { staticResource.push(item.propValue['url']) } else if ( - item.component === 'picture-group' && + item.component === 'UserView' && + item.innerType === 'picture-group' && item.propValue['urlList'] && item.propValue['urlList'].length > 0 ) { diff --git a/core/core-frontend/src/views/chart/components/editor/index.vue b/core/core-frontend/src/views/chart/components/editor/index.vue index c61cca7b12..66fce18509 100644 --- a/core/core-frontend/src/views/chart/components/editor/index.vue +++ b/core/core-frontend/src/views/chart/components/editor/index.vue @@ -178,7 +178,11 @@ const toolTip = computed(() => { }) const templateStatusShow = computed(() => { - return view.value['dataFrom'] === 'template' && !mobileInPc.value + return ( + view.value['dataFrom'] === 'template' && + view.value.type !== 'picture-group' && + !mobileInPc.value + ) }) const { view } = toRefs(props)