Skip to content

Commit ba6c2e2

Browse files
committed
update: 延时播放视频
1 parent 6309319 commit ba6c2e2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎pages/template/swiper-vertical/swiper-vertical.nvue‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@
6969
},
7070
getData(e) {
7171
this.videoDataList = videoData;
72-
this.updateVideo(true);
72+
setTimeout(() => {
73+
this.updateVideo(true);
74+
}, 200)
7375
},
7476
onSwiperChange(e) {
7577
let currentIndex = e.detail.current;

0 commit comments

Comments
 (0)