From 36de67b59077574c28bd99356b4582baee39c0a4 Mon Sep 17 00:00:00 2001 From: viarotel Date: Fri, 10 Nov 2023 13:55:10 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E2=99=BB=EF=B8=8F=20Optimize=20Batch?= =?UTF-8?q?=20connection=20performance?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Device/components/Wireless/index.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Device/components/Wireless/index.vue b/src/components/Device/components/Wireless/index.vue index 3713b7c2..dd35db5b 100644 --- a/src/components/Device/components/Wireless/index.vue +++ b/src/components/Device/components/Wireless/index.vue @@ -112,6 +112,10 @@ export default { this.handleConnect() }, async handleBatch() { + if (this.loading) { + return false + } + const totalCount = this.wirelessList.length let failCount = 0