修改swiper组件轮播遗留问题

main
jinna 3 years ago
parent c8208be926
commit e9c62bc706
  1. 3
      src/views/dashboard/home.vue

@ -271,6 +271,7 @@ export default {
villageData: [], villageData: [],
villList: [], villList: [],
mySwiper: null, mySwiper: null,
mySwiper1:null,
temp: "", temp: "",
weather: "", weather: "",
slideList: [ slideList: [
@ -929,7 +930,7 @@ export default {
}, },
run1() { run1() {
this.mySwiper = new Swiper(".swiper2", { this.mySwiper1 = new Swiper(".swiper2", {
loop: true, // loop: true, //
// autoplay: true, // // autoplay: true, //
autoplay: { autoplay: {

Loading…
Cancel
Save