优化调整web端内存溢出的问题

This commit is contained in:
aixianling
2023-04-04 09:19:47 +08:00
parent 5e7ef3d27a
commit f3cf8360c2
6 changed files with 78 additions and 26 deletions

View File

@@ -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-/, '/')
}