网格标绘增加图层切换

This commit is contained in:
aixianling
2023-04-11 10:29:57 +08:00
parent cf5e4e466e
commit 9aa6d8f180
3 changed files with 101 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
import instance from '../../ui/lib/js/request'
import {Message} from 'element-ui'
import instance from '../../ui/lib/js/request'
let baseURLs = {
production: "/",
@@ -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-/, '/')
}