更新
This commit is contained in:
@@ -5,7 +5,7 @@ import utils from '@/utils/encode'
|
||||
// const env = 'test'
|
||||
const env = 'production'
|
||||
// 45
|
||||
const testUrl = 'http://192.168.1.132:38080'
|
||||
const testUrl = 'http://192.168.1.83:38080'
|
||||
// const productUrl = 'https://www.xingoil.com/adminapi'
|
||||
|
||||
const productUrl = 'http://uat.xingoil.com/adminapi'
|
||||
@@ -19,7 +19,7 @@ const service = axios.create({
|
||||
let closeShowLoading
|
||||
var url = ''
|
||||
service.interceptors.request.use(
|
||||
config => {
|
||||
config => {
|
||||
// 拦截请求
|
||||
closeShowLoading = config?.closeShowLoading||false;
|
||||
// console.log(closeShowLoading,'isLoadingisLoadingisLoading')
|
||||
@@ -125,6 +125,7 @@ service.interceptors.response.use(
|
||||
})
|
||||
}, 2000)
|
||||
}
|
||||
return Promise.reject()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user