hwb0 3 роки тому
батько
коміт
cef7d9fcc3
1 змінених файлів з 2 додано та 1 видалено
  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)
 			},