no message
This commit is contained in:
parent
c3c6f85c5e
commit
e48c47f3e9
@ -7,8 +7,10 @@ const APP_CONFIG = {
|
||||
THEMESETTING: true,
|
||||
// Cookie name
|
||||
SESSIONNAME: 'miucms_session',
|
||||
//TokenName
|
||||
TOKEN_NAME: "authorization",
|
||||
// 网站LOGO, 正式形
|
||||
APP_LOGO: 'https://oss.gter.net/avatar/97KwEWEGZeIREizSqgKwXgxaF76Z01V_vGFhY2E~/small?random=1692091829',
|
||||
APP_LOGO: '',
|
||||
//接口地址
|
||||
API_URL: 'https://app.gter.net/admin',
|
||||
}
|
@ -1,81 +1,58 @@
|
||||
const DEFAULT_CONFIG = {
|
||||
//标题
|
||||
APP_NAME: process.env.VUE_APP_TITLE,
|
||||
|
||||
//首页地址
|
||||
DASHBOARD_URL: '/dashboard',
|
||||
|
||||
//版本号
|
||||
APP_VER: "1.6.9",
|
||||
|
||||
//内核版本号
|
||||
CORE_VER: "1.6.9",
|
||||
|
||||
//接口地址
|
||||
API_URL: '/admin',
|
||||
|
||||
//请求超时
|
||||
TIMEOUT: 10000,
|
||||
|
||||
//主题设置
|
||||
THEMESETTING: true,
|
||||
|
||||
// 主题页头
|
||||
THEMEHEADER: false,
|
||||
|
||||
//TokenName
|
||||
TOKEN_NAME: "authorization",
|
||||
|
||||
// Cookie Name
|
||||
SESSIONNAME: "MIUCMSSESSION",
|
||||
|
||||
//Token前缀,注意最后有个空格,如不需要需设置空字符串
|
||||
TOKEN_PREFIX: "",
|
||||
|
||||
//追加其他头
|
||||
HEADERS: {},
|
||||
|
||||
//请求是否开启缓存
|
||||
REQUEST_CACHE: false,
|
||||
|
||||
//布局 默认:default | 通栏:header | 经典:menu | 功能坞:dock
|
||||
//dock将关闭标签和面包屑栏
|
||||
LAYOUT: 'default',
|
||||
|
||||
//菜单是否折叠
|
||||
MENU_IS_COLLAPSE: false,
|
||||
|
||||
//菜单是否启用手风琴效果
|
||||
MENU_UNIQUE_OPENED: false,
|
||||
|
||||
//是否开启多标签
|
||||
LAYOUT_TAGS: true,
|
||||
|
||||
//语言
|
||||
LANG: 'zh-cn',
|
||||
|
||||
//主题颜色
|
||||
COLOR: '',
|
||||
|
||||
//是否加密localStorage, 为空不加密,可填写AES(模式ECB,移位Pkcs7)加密
|
||||
LS_ENCRYPTION: '',
|
||||
|
||||
//localStorageAES加密秘钥,位数建议填写8的倍数
|
||||
LS_ENCRYPTION_key: '2XNN4K8LC0ELVWN4',
|
||||
|
||||
//控制台首页默认布局
|
||||
DEFAULT_GRID: {
|
||||
//默认分栏数量和宽度 例如 [24] [18,6] [8,8,8] [6,12,6]
|
||||
layout: [24],
|
||||
//小组件分布,com取值:views/home/components 文件名
|
||||
copmsList: [
|
||||
['welcome']
|
||||
]
|
||||
}
|
||||
//标题
|
||||
APP_NAME: process.env.VUE_APP_TITLE,
|
||||
//首页地址
|
||||
DASHBOARD_URL: '/dashboard',
|
||||
//版本号
|
||||
APP_VER: "1.6.9",
|
||||
//内核版本号
|
||||
CORE_VER: "1.6.9",
|
||||
//接口地址
|
||||
API_URL: '/admin',
|
||||
//请求超时
|
||||
TIMEOUT: 10000,
|
||||
//主题设置
|
||||
THEMESETTING: true,
|
||||
// 主题页头
|
||||
THEMEHEADER: false,
|
||||
//TokenName
|
||||
TOKEN_NAME: "token",
|
||||
// Cookie Name
|
||||
SESSIONNAME: "MIUCMSSESSION",
|
||||
//Token前缀,注意最后有个空格,如不需要需设置空字符串
|
||||
TOKEN_PREFIX: "",
|
||||
//追加其他头
|
||||
HEADERS: {},
|
||||
//请求是否开启缓存
|
||||
REQUEST_CACHE: false,
|
||||
//布局 默认:default | 通栏:header | 经典:menu | 功能坞:dock
|
||||
//dock将关闭标签和面包屑栏
|
||||
LAYOUT: 'default',
|
||||
//菜单是否折叠
|
||||
MENU_IS_COLLAPSE: false,
|
||||
//菜单是否启用手风琴效果
|
||||
MENU_UNIQUE_OPENED: false,
|
||||
//是否开启多标签
|
||||
LAYOUT_TAGS: true,
|
||||
//语言
|
||||
LANG: 'zh-cn',
|
||||
//主题颜色
|
||||
COLOR: '',
|
||||
//是否加密localStorage, 为空不加密,可填写AES(模式ECB,移位Pkcs7)加密
|
||||
LS_ENCRYPTION: '',
|
||||
//localStorageAES加密秘钥,位数建议填写8的倍数
|
||||
LS_ENCRYPTION_key: '2XNN4K8LC0ELVWN4',
|
||||
//控制台首页默认布局
|
||||
DEFAULT_GRID: {
|
||||
//默认分栏数量和宽度 例如 [24] [18,6] [8,8,8] [6,12,6]
|
||||
layout: [24],
|
||||
//小组件分布,com取值:views/home/components 文件名
|
||||
copmsList: [
|
||||
['welcome']
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
// 如果生产模式,就合并动态的APP_CONFIG
|
||||
// public/config.js
|
||||
Object.assign(DEFAULT_CONFIG, APP_CONFIG)
|
||||
|
||||
export default DEFAULT_CONFIG
|
||||
export default DEFAULT_CONFIG
|
@ -239,7 +239,7 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.appLogo = this.$config.APP_LOGO || logo;
|
||||
this.appLogo = this.$tool.data.get("appLogo") || (this.$config.APP_LOGO || logo);
|
||||
this.onLayoutResize();
|
||||
window.addEventListener('resize', this.onLayoutResize);
|
||||
var menu = this.$router.sc_getMenu();
|
||||
|
Loading…
Reference in New Issue
Block a user