32 lines
874 B
JavaScript
32 lines
874 B
JavaScript
|
/*
|
|||
|
* @Author: Haijun Zhang
|
|||
|
* @Date: 2022-11-04 14:32:20
|
|||
|
* @LastEditTime: 2022-11-07 16:55:05
|
|||
|
* @LastEditors: Haijun Zhang
|
|||
|
* @Description:
|
|||
|
* @FilePath: \cmc-web\webs\aos-web\src\config.js
|
|||
|
*/
|
|||
|
/**
|
|||
|
* 启用缓存加载速度会变快,但是数据安全性和实时性降低
|
|||
|
*/
|
|||
|
// 是否启用权限本地缓存
|
|||
|
export const enablePermissionStorage = false
|
|||
|
// 本地缓存的菜单key值
|
|||
|
export const menuKey = 'cmcMenuData'
|
|||
|
// 是否启用用户本地缓存
|
|||
|
export const enableUserStorage = false
|
|||
|
// 本地缓存的用户key值
|
|||
|
export const userKey = 'cmcUserData'
|
|||
|
// 本地存储的cookie kye值
|
|||
|
export const tokenKey = 'CMC_TOKEN'
|
|||
|
// 最大缓存组件实例数
|
|||
|
export const cacheViewMax = 15
|
|||
|
|
|||
|
export const baseUrl = '/aos-web'
|
|||
|
|
|||
|
// 默认跳转地址
|
|||
|
export const homePath = '/resource/status'
|
|||
|
|
|||
|
export const isConsole = false
|
|||
|
export const loginKey = 'cmcLoginData'
|