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)