bug
This commit is contained in:
@@ -27,7 +27,7 @@ instance.interceptors.request.use(config => {
|
||||
config.baseURL = location.hash.replace(/#url-/, '/')
|
||||
}
|
||||
if (["/omsapi"].includes(config.baseURL)) {
|
||||
config.url = config.url.replace(/(app|auth|admin|api)\//, "")
|
||||
config.url = config.url.replace(/(app|auth|admin|api)\//, "api/")
|
||||
}
|
||||
if (["/xsjr", "/tfx"].includes(config.baseURL)) {
|
||||
config.url = config.url.replace(/(app|auth|admin|api)\//, "api/")
|
||||
|
||||
@@ -184,6 +184,8 @@
|
||||
|
||||
if (res.data.length) {
|
||||
this.search.appId = res.data[0].appId
|
||||
|
||||
this.getInfo()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user