Skip to content

Commit 6298c0e

Browse files
committed
style(*): 添加配置文件
1 parent cf32e2f commit 6298c0e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/config/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const Config = {
2+
baseUrl: 'http://dev.lin.colorful3.com/',
3+
// baseUrl: 'localhost:5000',
4+
stagnateTime: 1 * 60 * 60 * 1000, // 无操作停滞时间 默认1小时
5+
openAutoJumpOut: true, // 是否开启无操作跳出
6+
notLoginRoute: ['login'], // 无需登录即可访问的路由 name,
7+
sideBarLevel: 3, // 侧边栏层级限制, 3表示三级, 可设置 2 和 3
8+
defaultRoute: '/about', // 默认打开的路由
9+
}
10+
11+
export default Config

0 commit comments

Comments
 (0)