新网格应用调整目录完成

This commit is contained in:
aixianling
2022-05-27 11:51:18 +08:00
parent 79e06e38ae
commit 0debe23873
41 changed files with 13155 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ instance.defaults.baseURL = baseURLs[process.env.NODE_ENV]
instance.interceptors.request.use(config => {
if (config.url.startsWith("/node")) {
config.baseURL = "/ns"
} else if (/\/project\/grid/.test(location.pathname)) {
config.baseURL = "/grid"
} else if (/\/project\/sass/.test(location.pathname)) {
config.baseURL = "/saas"
} else if (/\/xiushan/.test(location.pathname)) {