index.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. export default {
  2. /**
  3. * @description 配置显示在浏览器标签的title
  4. */
  5. title: '易益康养',
  6. /**
  7. * @description token在Cookie中存储的天数,默认1天
  8. */
  9. cookieExpires: 1,
  10. /**
  11. * @description 是否使用国际化,默认为false
  12. * 如果不使用,则需要在路由中给需要在菜单中展示的路由设置meta: {title: 'xxx'}
  13. * 用来在菜单中显示文字
  14. */
  15. useI18n: true,
  16. /**
  17. * @description api请求基础路径
  18. */
  19. baseUrl: {
  20. dev: 'http://yyky.com/index.php',
  21. pro: 'https://app.tjzhxx.cn:4200/index.php'
  22. // dev_lab: 'http://labourunionserver.dev.com/index.php',
  23. // pro_lab: 'https://app.tjzhxx.cn:1443/index.php'
  24. },
  25. /**
  26. * @description 默认打开的首页的路由name值,默认为home
  27. */
  28. homeName: 'home',
  29. /**
  30. * @description 需要加载的插件
  31. */
  32. plugin: {
  33. 'error-store': {
  34. showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
  35. developmentOff: true // 设为true后在开发环境不会收集错误信息,方便开发中排查错误
  36. }
  37. }
  38. }