黔西南

This commit is contained in:
liuye
2022-12-30 16:26:52 +08:00
parent f81ac447f6
commit 77f06c0526
4 changed files with 36 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ instance.interceptors.request.use(config => {
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
} else if (!/^App/.test(module) && module) {
config.baseURL = `/${module}`
if (['xaxc'].includes(module)) {
if (['xaxc', 'qxn'].includes(module)) {
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
}
} else config.baseURL = "/lan"