diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/form/detail/detail.vue b/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/form/detail/detail.vue index 0a5ffcc5..29967c40 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/form/detail/detail.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/subpackage/form/detail/detail.vue @@ -3,7 +3,7 @@ + v-if="(state.formInfo?.headType == FormHeadEnum.picture || state.formInfo?.headType == FormHeadEnum.swiper) && state.swiperList.length > 0"> @@ -27,7 +27,7 @@ @@ -35,7 +35,7 @@ @@ -241,7 +241,7 @@ if (goods.length > 0) { goods.forEach((item : any) => item.defaultValue = []); } - state.swiperList = formInfo.data?.images?.split(',') || []; + state.swiperList = formInfo.data?.images ? formInfo.data?.images?.split(',') : []; /** 获取分享url */ state.shareUrl = await getShareUrl({