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

This commit is contained in:
wangjiahao
2025-05-29 16:50:52 +08:00
parent 27f4aba3f6
commit c4559bb34d
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

@@ -188,7 +188,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)