fix(图片背景组件): 新增是否为oss图片的条件

This commit is contained in:
hzj 2025-12-22 18:59:54 +08:00
parent 1bd2796106
commit 550db926f5

View File

@ -82,7 +82,10 @@ const shouldShowImage = computed(() => {
// OSS
const isOSSImage = computed(() => {
return props.imgUrl.startsWith('https://tkm-likei.oss-ap-southeast-1.aliyuncs.com/h5')
return (
props.imgUrl.startsWith('/oss/h5/') ||
props.imgUrl.startsWith('https://tkm-likei.oss-ap-southeast-1.aliyuncs.com/h5')
)
})
//