原理跟大佬一樣,通過v-if指令,來延遲swiper 的注入到DOM樹中。 ... slideTo(3, 1000, false); setTimeout(() => { this.swt = true }, 200) },.
確定! 回上一頁