111
This commit is contained in:
parent
d41ffa7356
commit
ba55f11f1e
|
@ -70,6 +70,11 @@ const router = createRouter({
|
||||||
path: '/home/index/person',
|
path: '/home/index/person',
|
||||||
component: () => import('../view/person/index.vue'),
|
component: () => import('../view/person/index.vue'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: '地图编辑',
|
||||||
|
path: '/home/index/mapEdit',
|
||||||
|
component: () => import('../view/sy_map_fb.vue'),
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -15,8 +15,8 @@ export default defineConfig({
|
||||||
// 第一个代理
|
// 第一个代理
|
||||||
"/api": {
|
"/api": {
|
||||||
// 匹配到啥来进行方向代理
|
// 匹配到啥来进行方向代理
|
||||||
// target: "http://10.0.0.65:8095/", //刘进
|
target: "http://10.0.0.65:8095/", //刘进
|
||||||
target: "http://220.191.238.50:996/", //线上
|
// target: "http://220.191.238.50:996/", //线上
|
||||||
changeOrigin: true, //是否支持跨域
|
changeOrigin: true, //是否支持跨域
|
||||||
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue