zhengkaixin 7 months ago
parent
commit
6efa00cc09

+ 2 - 2
components/lottery/index11.vue

@@ -217,7 +217,7 @@
 				const result = await this.roateCanvas(num)
 				//console.log("抽奖结果:", result.name)
 				this.name=result.name
-				this.isLottery = false
+				
 				let title = ""
 				let content = result.name
 				
@@ -227,7 +227,7 @@
 					content = this.turnModalContent[Math.floor(Math.random() * this.turnModalContent.length)]
 				}
 				this.$emit("playRewardEnd",result.name)
-
+				this.isLottery = false
 
 			},
 

+ 1 - 1
pages/temporary/20241111/doubleElevenLottery.vue

@@ -114,7 +114,7 @@
 				}
 			},
 			clickBtn() {
-				if(this.$refs.refLottery.isLottery){
+				if(this.$refs.refLottery.isLottery||this.show){
 					uni.showToast({
 						title: "摇奖中...",
 						icon: "none"