You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 请求配置文件
|
|
|
|
* @author yujialong
|
|
|
|
*/
|
|
|
|
|
|
|
|
export default {
|
|
|
|
baseURL: 'https://www.occupationlab.com/',
|
|
|
|
// baseURL: 'http://192.168.31.152:9000/',
|
|
|
|
// baseURL: 'http://121.37.12.51/',
|
|
|
|
headers: {
|
|
|
|
'Content-Type': 'application/json;charset=UTF-8'
|
|
|
|
},
|
|
|
|
data: {},
|
|
|
|
method: 'POST',
|
|
|
|
responseType: 'json', // 响应数据类型
|
|
|
|
withCredentials: false, // 携带cookie
|
|
|
|
// ======================== 以下为注入axios的配置项 =============================
|
|
|
|
showLoading: true, // 是否显示加载动画
|
|
|
|
isFormData: false // 是否序列化表单数据
|
|
|
|
}
|