From 799ec6799ad9e994f7d369f059ca7682962f648f Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期三, 02 九月 2026 00:08:30 +0800
Subject: [PATCH] fix: 能耗导入同报表期并发重导互斥锁 + 空车牌(0)过滤 + 前端导入按钮防连点
---
traffic-audit-web/src/components/Captcha3D.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/traffic-audit-web/src/components/Captcha3D.vue b/traffic-audit-web/src/components/Captcha3D.vue
index 0264cc7..d710b33 100644
--- a/traffic-audit-web/src/components/Captcha3D.vue
+++ b/traffic-audit-web/src/components/Captcha3D.vue
@@ -119,7 +119,7 @@
this.selectedIds = []
this.errorMsg = ''
this.$emit('reset')
- axios.get('/api/auth/captcha')
+ axios.get('/api/auth/captcha', { timeout: 10000 })
.then(res => {
this.loading = false
if (res.data.code === 200) {
@@ -176,7 +176,7 @@
axios.post('/api/auth/captcha/verify', {
captchaId: this.challenge.captchaId,
captchaClickIds: this.selectedIds.slice()
- })
+ }, { timeout: 10000 })
.then(res => {
this.loading = false
const d = res.data
--
Gitblit v1.9.1