From 9b42b5ef4ebc0c38bdc427fb9ab24b38d401acd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8A=B1=E5=9F=8E?= <141405260+17521612761@users.noreply.github.com> Date: Fri, 10 Jan 2025 11:02:56 +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=E9=A6=96=E9=A1=B5=E5=85=AC=E5=91=8A=E5=90=91=E5=B7=A6?= =?UTF-8?q?=E8=B7=91=E9=A9=AC=E7=81=AF=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=BD=95?= =?UTF-8?q?=E5=85=A5=E5=86=85=E5=AE=B9=E9=95=BF=E5=B0=B1=E7=9C=8B=E4=B8=8D?= =?UTF-8?q?=E5=85=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/home-notice-bar/home-notice-bar.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-notice-bar/home-notice-bar.vue b/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-notice-bar/home-notice-bar.vue index 98ec7621..da428e7e 100644 --- a/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-notice-bar/home-notice-bar.vue +++ b/CoreCms.Net.Uni-App/CoreShop/pages/components/custom-page/components/home-notice-bar/home-notice-bar.vue @@ -1,7 +1,7 @@ @@ -16,8 +16,8 @@ data: {}, }); - let noticeArray = ref([]); - noticeArray.value = props.data.list.map((item : any) => `${item.title}【${timeFormat(item.createTime, 'yyyy年mm月dd日')}】`); + let noticeArray = ref(''); + props.data.list.forEach((item : any) => noticeArray.value += `${item.title}【${timeFormat(item.createTime, 'yyyy年mm月dd日')}】\u00A0\u00A0\u00A0\u00A0\u00A0`); \ No newline at end of file