新网格应用调整目录完成

This commit is contained in:
aixianling
2022-05-27 11:47:33 +08:00
parent c462540112
commit 448513c8cf
35 changed files with 2901 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ instance.interceptors.request.use(config => {
if (/AppCountryAlbum/.test(location.pathname)) {
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
}
if (/\/grid\//.test(location.pathname)) {
config.baseURL = '/grid'
}
if (sessionStorage.getItem("prj") == "saas") {
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
}