You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
2.0 KiB
57 lines
2.0 KiB
// 租户ID (请修改为您的租户ID)
|
|
export const TENANT_ID = 10093;
|
|
// appSecret (非必填)
|
|
export const APP_SECRET = '';
|
|
// 接口地址 (如需二次开发,请修改为您的接口地址)
|
|
export const MODULES_API_URL = 'https://modules.gxwebsoft.com/api';
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 以下配置一般情况下不需要改动
|
|
*/
|
|
// 不显示侧栏的路由
|
|
export const HIDE_SIDEBARS: string[] = [];
|
|
// 不显示页脚的路由
|
|
export const HIDE_FOOTERS: string[] = [
|
|
'/system/dictionary',
|
|
'/system/organization',
|
|
'/form/advanced'
|
|
];
|
|
// 页签同路由不同参数可重复打开的路由
|
|
export const REPEATABLE_TABS: string[] = [];
|
|
// 不需要登录的路由
|
|
export const WHITE_LIST: string[] = ['/login', '/forget', '/wx-work-login'];
|
|
// 开启 KeepAlive 后仍然不需要缓存的路由地址
|
|
export const KEEP_ALIVE_EXCLUDES: string[] = [];
|
|
// 直接指定菜单数据
|
|
// export const USER_MENUS = menu;
|
|
export const USER_MENUS: Array<any> | undefined = undefined;
|
|
// 首页名称, 为空则取第一个菜单的名称
|
|
export const HOME_TITLE: string | undefined = undefined;
|
|
// 首页路径, 为空则取第一个菜单的地址
|
|
export const HOME_PATH: string | undefined = undefined;
|
|
// 外层布局的路由地址
|
|
export const LAYOUT_PATH = '/';
|
|
// 刷新路由的路由地址
|
|
export const REDIRECT_PATH = '/redirect';
|
|
// 开启页签栏是否缓存组件
|
|
export const TAB_KEEP_ALIVE = true;
|
|
// token 传递的 header 名称
|
|
export const TOKEN_HEADER_NAME = 'Authorization';
|
|
// token 存储的名称
|
|
export const TOKEN_STORE_NAME = 'access_token';
|
|
// 主题配置存储的名称
|
|
export const THEME_STORE_NAME = 'theme:';
|
|
// i18n 缓存的名称
|
|
export const I18N_CACHE_NAME = 'i18n-lang';
|
|
// 是否开启国际化功能
|
|
export const I18N_ENABLE = false;
|
|
// 文件服务器地址
|
|
export const FILE_SERVER = 'https://file.wsdns.cn';
|
|
// 核心模块接口
|
|
export const API_BASE_URL: string = 'https://server.gxwebsoft.com/api';
|
|
// 主节点
|
|
export const SERVER_API_URL = 'https://server.gxwebsoft.com/api';
|