index.js 894 B

1234567891011121314151617181920212223
  1. import config from './index.json'
  2. //主要配置
  3. export default {
  4. title: '工程数字档案管理后台',
  5. name: '工程数字档案管理后台',
  6. key: 'saber', // 配置主键,目前用于存储
  7. clientId: 'saber', // 客户端id
  8. clientSecret: 'saber_secret', // 客户端密钥
  9. tenantMode: true, // 是否开启租户模式
  10. tenantId: '000000', // 管理组租户编号
  11. captchaMode: false, // 是否开启验证码模式
  12. switchMode: false, // 是否开启部门切换模式
  13. tokenTime: 1740,
  14. tokenHeader: 'Blade-Auth',
  15. tokenKey: 'saber-access-token',
  16. refreshTokenKey: 'saber-refresh-token',
  17. theme: 'default', //默认主题
  18. color: '#4980F7', //默认主色调
  19. ...config,
  20. //这里不再支持配置请求地址,请在 src/config/index.json 文件中配置。
  21. //相关参数,可查阅 src/config/index.md 文件说明
  22. }