From e4cd2d6346457f067a53b83dfe3d049c8cf5966e Mon Sep 17 00:00:00 2001 From: 15093570141 <141405260+17521612761@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:53:17 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CoreShop/pages/subpackage/form/detail/detail.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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({