Commit c868e90d authored by dupengyu's avatar dupengyu

路由调整

parent 61317410
......@@ -36,7 +36,7 @@ export function roleMenuTreeselect(roleId) {
// 新增菜单
export function addMenu(data) {
return request({
url: '/api/menu',
url: '/api/menu/add',
method: 'post',
data: data
})
......
This diff is collapsed.
......@@ -63,7 +63,7 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
}
if (route.component) {
// Layout ParentView 组件特殊处理
if (route.component === 'Layout') {
if (route.component == 'Layout') {
route.component = Layout
}
else if (route.component === 'ParentView') {
......
......@@ -8,9 +8,9 @@ function resolve(dir) {
const name = defaultSettings.title || '漏缆故障定位监测系统' // page title
const port = process.env.port || process.env.npm_config_port || 8890 // dev port
// const href = 'http://101.126.159.207'
const href = 'http://101.126.159.207'
// const href = 'http://127.0.0.1'
const href = 'http://192.168.0.122'
// const href = 'http://192.168.0.122'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment