|
|
@ -1,10 +1,7 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* @Author: your name |
|
|
|
* @Author: Yujialong |
|
|
|
* @Date: 2021-11-03 14:33:21 |
|
|
|
* @Date: 2021-11-03 14:33:21 |
|
|
|
* @LastEditTime: 2021-12-09 16:18:20 |
|
|
|
* @LastEditTime: 2021-12-22 09:41:33 |
|
|
|
* @LastEditors: Please set LastEditors |
|
|
|
|
|
|
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
|
|
|
|
|
|
* @FilePath: \questionnaired:\code\FE_huoran_data\src\setting.js |
|
|
|
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 业务配置 |
|
|
|
* 业务配置 |
|
|
@ -22,9 +19,13 @@ const Setting = { |
|
|
|
routerMode: 'hash', |
|
|
|
routerMode: 'hash', |
|
|
|
// 页面切换时,是否显示模拟的进度条
|
|
|
|
// 页面切换时,是否显示模拟的进度条
|
|
|
|
showProgressBar: true, |
|
|
|
showProgressBar: true, |
|
|
|
// 接口请求地址
|
|
|
|
/** |
|
|
|
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',// 佳坤
|
|
|
|
* 接口地址 |
|
|
|
apiBaseURL: env === 'development' ? 'http://www.dataforward.cn:9000' : 'http://www.dataforward.cn:9000', |
|
|
|
* 测试:http://39.108.250.202:9000
|
|
|
|
|
|
|
|
* 正式:http://www.dataforward.cn:9000
|
|
|
|
|
|
|
|
* */ |
|
|
|
|
|
|
|
// apiBaseURL: env === 'development' ? 'http://192.168.31.151:9000' : 'http://39.108.250.202:9000',
|
|
|
|
|
|
|
|
apiBaseURL: env === 'development' ? 'http://39.108.250.202:9000' : `${location.origin}:9000`, |
|
|
|
// 接口请求返回错误时,弹窗的持续时间,单位:秒
|
|
|
|
// 接口请求返回错误时,弹窗的持续时间,单位:秒
|
|
|
|
modalDuration: 3, |
|
|
|
modalDuration: 3, |
|
|
|
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
|
|
|
|
// 接口请求返回错误时,弹窗的类型,可选值为 Message 或 Notice
|
|
|
|