Merge branch 'master' of http://192.168.1.22:3000/frontend/admin-sjzx
This commit is contained in:
@@ -55,6 +55,10 @@ function createAxios<Data = any, T = ApiPromise<Data>>(
|
||||
// 请求拦截
|
||||
Axios.interceptors.request.use(
|
||||
config => {
|
||||
if(config.url?.substring(0, 13)=='/advance-boot'){
|
||||
config.url=config.url?.slice(13)
|
||||
config.baseURL='/hzj'
|
||||
}
|
||||
// 取消重复请求
|
||||
removePending(config)
|
||||
options.CancelDuplicateRequest && addPending(config)
|
||||
|
||||
Reference in New Issue
Block a user