index.js 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. api_dev: {
  20. // common: 'http://nanyue-sell.nanyue6688.com/common-api',
  21. // buyer: 'http://nanyue-sell.nanyue6688.com/buyer-api',
  22. // seller: 'http://nanyue-sell.nanyue6688.com/seller-api',
  23. // manager: 'http://nanyue-sell.nanyue6688.com/manager-api',
  24. common: 'http://192.168.1.48:8890',
  25. buyer: 'http://192.168.1.48:8888',
  26. seller: 'http://192.168.1.48:8889',
  27. manager: 'http://192.168.1.48:8887'
  28. },
  29. api_prod: {
  30. common: 'http://nanyue-sell.nanyue6688.com/common-api',
  31. buyer: 'http://nanyue-sell.nanyue6688.com/buyer-api',
  32. seller: 'http://nanyue-sell.nanyue6688.com/seller-api',
  33. manager: 'http://nanyue-sell.nanyue6688.com/manager-api'
  34. },
  35. /**
  36. * @description api请求基础路径前缀
  37. */
  38. baseUrlPrefix: "/store",
  39. /**
  40. * @description 需要加载的插件
  41. */
  42. plugin: {
  43. "error-store": {
  44. showInHeader: true, // 设为false后不会在顶部显示错误日志徽标
  45. developmentOff: true // 设为true后在开发环境不会收集错误信息,方便开发中排查错误
  46. }
  47. }
  48. };