From e9c62bc706a369ebd8e0943c033badb4f8dbbce1 Mon Sep 17 00:00:00 2001 From: jinna Date: Tue, 31 Jan 2023 17:44:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9swiper=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E8=BD=AE=E6=92=AD=E9=81=97=E7=95=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/home.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/dashboard/home.vue b/src/views/dashboard/home.vue index a54bc7b..f86ea39 100644 --- a/src/views/dashboard/home.vue +++ b/src/views/dashboard/home.vue @@ -271,6 +271,7 @@ export default { villageData: [], villList: [], mySwiper: null, + mySwiper1:null, temp: "", weather: "", slideList: [ @@ -929,7 +930,7 @@ export default { }, run1() { - this.mySwiper = new Swiper(".swiper2", { + this.mySwiper1 = new Swiper(".swiper2", { loop: true, // 循环模式选项 // autoplay: true, //可选选项,自动滑动 autoplay: {