From c671895fba11ce51f27c1083e479ccf92ab4a3b9 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 18 十一月 2025 15:51:11 +0800
Subject: [PATCH] 设置名称
---
src/config/index.js | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/config/index.js b/src/config/index.js
index 6bea09e..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: Sneed
- * @LastEditTime: 2024-04-10 22:12:06
- * @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",
@@ -63,13 +63,15 @@
//鎺у埗鍙伴椤甸粯璁ゅ竷灞�
DEFAULT_GRID: {
+ data: {},
//榛樿鍒嗘爮鏁伴噺鍜屽搴� 渚嬪 [24] [18,6] [8,8,8] [6,12,6]
layout: [12, 6, 6],
//灏忕粍浠跺垎甯冿紝com鍙栧��:views/home/components 鏂囦欢鍚�
copmsList: [
- ['welcome'],
- ['about', 'ver'],
- ['time', 'progress']
+ // ['welcome'],
+ // ['about', 'ver'],
+ // ['time', 'progress']
+ [],[],[]
]
}
}
--
Gitblit v1.9.3