diff --git a/src/common/axios.js b/src/common/axios.js index c08174b3..d72415d2 100644 --- a/src/common/axios.js +++ b/src/common/axios.js @@ -15,9 +15,9 @@ instance.interceptors.request.use(config => { } else if (/AppCountryAlbum/.test(location.pathname) || config.module == 'AppCountryAlbum') { config.baseURL = '/aca' config.url = config.url.replace(/(app|auth|admin)\//, "api/") - } else if (/\/grid\//.test(location.pathname)) { + } else if (/\/project\/beta\//.test(location.pathname)) { config.baseURL = '/wangge' - } else if (/\/project\/police\//.test(location.pathname)||config.module=='hnjc') { + } else if (/\/project\/police\//.test(location.pathname) || config.module == 'hnjc') { config.baseURL = '/hnjc' config.url = config.url.replace(/(app|auth|admin)\//, "api/") } else if (sessionStorage.getItem("prj") == "saas") { diff --git a/src/project/beta/AppGridManagement/SelectGird.vue b/src/project/beta/AppGridManagement/SelectGird.vue index e365f1d6..06d66eef 100644 --- a/src/project/beta/AppGridManagement/SelectGird.vue +++ b/src/project/beta/AppGridManagement/SelectGird.vue @@ -2,7 +2,6 @@