setting.js 443 B

1234567891011121314
  1. // 请求接口地址 如果没有配置自动获取当前网址路径
  2. const Url = ''
  3. const VUE_APP_API_URL = Url || process.env.VUE_APP_API_URL || `${location.origin}/adminapi`
  4. const Setting = {
  5. // 接口请求地址
  6. apiBaseURL: VUE_APP_API_URL,
  7. // 路由模式,可选值为 history 或 hash
  8. routerMode: 'history',
  9. // 页面切换时,是否显示模拟的进度条
  10. showProgressBar: true
  11. }
  12. export default Setting