网格标绘增加图层切换
This commit is contained in:
@@ -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-/, '/')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user