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: {