Przeglądaj źródła

修复盲票滑动bug

hwb0 3 lat temu
rodzic
commit
cef7d9fcc3
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      pages/index/index.vue

+ 2 - 1
pages/index/index.vue

@@ -236,7 +236,8 @@
 			},
 
 			// 盲票选中改变
-			changeTicket(e) {
+			changeTicket({ detail }) {
+				this.currentIndex = detail.current
 				this.getPrize(this.ticketList[this.currentIndex].boxId)
 			},