Saber/src/config/website.js

45 lines
1.0 KiB
JavaScript

/**
* 全局配置文件
*/
export default {
title: "saber",
indexTitle: 'Saber Admin',
clientId: 'saber', // 客户端id
clientSecret: 'saber_secret', // 客户端密钥
tenantMode: true, // 是否开启租户模式
captchaMode: true, // 是否开启验证码模式
logo: "S",
key: 'saber',//配置主键,目前用于存储
lockPage: '/lock',
tokenTime: 100,
//http的status默认放行不才用统一处理的,
statusWhiteList: [],
//配置首页不可关闭
isFirstPage: false,
fistPage: {
label: "首页",
value: "/wel/index",
params: {},
query: {},
meta: {
i18n: 'dashboard'
},
group: [],
close: false
},
//配置菜单的属性
menu: {
iconDefault: 'iconfont icon-caidan',
props: {
label: 'name',
path: 'path',
icon: 'source',
children: 'children'
}
},
// 授权地址
authUrl: 'http://localhost/blade-auth/oauth/render',
// 报表设计器地址(cloud端口为8108,boot端口为80)
reportUrl: 'http://localhost:8108/ureport',
}