Browse Source

修复盲票滑动bug

hwb0 3 years ago
parent
commit
cef7d9fcc3
1 changed files with 2 additions and 1 deletions
  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)
 			},