From 728b372a16e5bae7f985f2d8dcc3fe2705b8b07e Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期五, 28 八月 2026 16:38:31 +0800
Subject: [PATCH] fix: 数据导入页进入时 batches 请求合并为 1 个 + Tomcat 线程池 500,缓解导入占满线程导致接口 pending(浏览器无响应)
---
traffic-audit-web/src/main.js | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/traffic-audit-web/src/main.js b/traffic-audit-web/src/main.js
index 6b77a3f..6ff9576 100644
--- a/traffic-audit-web/src/main.js
+++ b/traffic-audit-web/src/main.js
@@ -7,6 +7,19 @@
Vue.use(ElementUI)
Vue.config.productionTip = false
+// 鍏ㄥ眬鐧诲嚭锛氭竻闄ょ櫥褰曟�佸苟鍥炵櫥褰曢〉锛堝悇椤甸潰渚ц竟鏍忋�岄��鍑虹櫥褰曘�嶈彍鍗曞叡鐢級
+Vue.mixin({
+ methods: {
+ logout() {
+ localStorage.removeItem('token')
+ localStorage.removeItem('username')
+ localStorage.removeItem('realName')
+ localStorage.removeItem('modules')
+ this.$router.push('/login')
+ }
+ }
+})
+
new Vue({
router,
render: h => h(App)
--
Gitblit v1.9.1