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 })