From f8f6aef5508148a784c05e71366796bb0b61164d Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期二, 18 十一月 2025 14:04:31 +0800
Subject: [PATCH] Merge branch 'new' of http://122.9.151.159:9090/r/smart-web into new

---
 src/config/index.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/config/index.js b/src/config/index.js
index 23735b8..b01d923 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -1,9 +1,9 @@
 /*
  * @Author: lzhe lzhe@example.com
  * @Date: 2024-03-26 10:28:33
- * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-06-20 23:30:15
- * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/config/index.js
+ * @LastEditors: gaoshp
+ * @LastEditTime: 2025-11-14 20:21:40
+ * @FilePath: /cps-web/src/config/index.js
  * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  */
 const DEFAULT_CONFIG = {
@@ -20,9 +20,9 @@
 	CORE_VER: "1.6.9",
 
 	//鎺ュ彛鍦板潃
-	API_URL: process.env.NODE_ENV === 'development' && process.env.VUE_APP_PROXY === 'true' ? "/api" : process.env.VUE_APP_API_BASEURL,
+	API_URL: ['development','local'].includes(process.env.NODE_ENV) && process.env.VUE_APP_PROXY === 'true' ? "/api" : process.env.VUE_APP_API_BASEURL,
 	//璇锋眰瓒呮椂
-	TIMEOUT: 10000,
+	TIMEOUT: 20000,
 
 	//TokenName
 	TOKEN_NAME: "Blade-Auth",

--
Gitblit v1.9.3