From 668e5ccf4d4f162800c67d94e6bbb9d4a2fd5cfb Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期日, 04 五月 2025 16:36:19 +0800
Subject: [PATCH] 重复点击上报问题修复

---
 pages/rece/standard.vue |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/pages/rece/standard.vue b/pages/rece/standard.vue
index e8beae2..d326fdf 100644
--- a/pages/rece/standard.vue
+++ b/pages/rece/standard.vue
@@ -156,7 +156,7 @@
 
 		<view class="cu-bar btn-group foot" v-show="isconfirm">
 			<button class="cu-btn text-blue line-blue shadow" @click="prev">涓婁竴姝�</button>
-			<button class="cu-btn bg-blue shadow-blur" @click="confirm">鎻愪氦鏀惰揣</button>
+			<button class="cu-btn bg-blue shadow-blur" :disabled="repeatClick" @click="confirm">鎻愪氦鏀惰揣</button>
 		</view>
 
 	</view>
@@ -179,7 +179,8 @@
 				whAreaId: '',
 				list: [],
 				range: [],
-				isconfirm: false
+				isconfirm: false,
+				repeatClick: false
 			}
 		},
 		computed: {
@@ -263,7 +264,8 @@
 						icon: "none",
 						title: '璇烽�夋嫨鏀惰揣鍖�'
 					})
-				} else {
+				} else {
+					this.repeatClick = true
 					const {
 						code,
 						data,
@@ -285,8 +287,8 @@
 							icon: "none",
 							position: 'top'
 						})
-					}
-
+					}
+					this.repeatClick = false
 				}
 			},
 			async getRece() {

--
Gitblit v1.9.1