fix(仪表板、数据大屏): 修复图片组导出模版未导出图片问题 #16162

This commit is contained in:
wangjiahao
2025-05-29 16:50:52 +08:00
committed by 王嘉豪
parent 6b3f3ee96c
commit 91e5ce11aa
2 changed files with 7 additions and 2 deletions

View File

@@ -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
) {

View File

@@ -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)