优化调整web端内存溢出的问题
This commit is contained in:
@@ -21,8 +21,8 @@ instance.interceptors.request.use(config => {
|
||||
config.baseURL = "/qxn"
|
||||
} else if (/\/xiushan/.test(location.pathname)) {
|
||||
config.baseURL = "/xsjr"
|
||||
} else if (/project\/oms/.test(location.pathname)) {
|
||||
config.baseURL = "/omsapi"
|
||||
// } else if (/project\/oms/.test(location.pathname)) {
|
||||
// config.baseURL = "/omsapi"
|
||||
} else if (/#url-/.test(location.hash)) {
|
||||
config.baseURL = location.hash.replace(/#url-/, '/')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user