This commit is contained in:
vipg
2025-11-12 17:24:55 +08:00
parent 8159f03e8c
commit 6dd4a9a41a
16 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
/**
* 系统核心配置
*/
window.SystemConfig = {
// 接口基础路径(实际项目替换为真实接口地址)
baseApi: 'https://api.asset-management.com',
// Token存储键名
tokenKey: 'asset_management_token',
// Token过期时间单位小时
tokenExpire: 24,
// 页面加载失败重试次数
retryCount: 2,
// 消息提示默认时长(单位:毫秒)
messageDuration: 3000,
// 菜单折叠状态存储键名
menuCollapseKey: 'asset_menu_collapse',
// 是否开启调试模式
debug: true
};
// 打印调试信息
if (SystemConfig.debug) {
console.log('系统配置初始化完成:', SystemConfig);
}