From 041cbeb1064caabdbfb7441bbf040c328035a0ae Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Thu, 17 Oct 2024 20:30:05 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/components/banner/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index/components/banner/index.vue b/src/pages/index/components/banner/index.vue index 9fc34bc..e397f05 100644 --- a/src/pages/index/components/banner/index.vue +++ b/src/pages/index/components/banner/index.vue @@ -20,7 +20,7 @@ const ctx = reactive({ function previewImage(item) { uni.previewImage({ current: item.url, - urls: this.pic.list.map(item => item.url), + urls: ctx.pic.list.map(item => item.url), indicator: 'default', loop: true })