Commit c868e90d authored by dupengyu's avatar dupengyu

路由调整

parent 61317410
...@@ -36,7 +36,7 @@ export function roleMenuTreeselect(roleId) { ...@@ -36,7 +36,7 @@ export function roleMenuTreeselect(roleId) {
// 新增菜单 // 新增菜单
export function addMenu(data) { export function addMenu(data) {
return request({ return request({
url: '/api/menu', url: '/api/menu/add',
method: 'post', method: 'post',
data: data data: data
}) })
......
This diff is collapsed.
...@@ -63,7 +63,7 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) { ...@@ -63,7 +63,7 @@ function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) {
} }
if (route.component) { if (route.component) {
// Layout ParentView 组件特殊处理 // Layout ParentView 组件特殊处理
if (route.component === 'Layout') { if (route.component == 'Layout') {
route.component = Layout route.component = Layout
} }
else if (route.component === 'ParentView') { else if (route.component === 'ParentView') {
......
...@@ -8,9 +8,9 @@ function resolve(dir) { ...@@ -8,9 +8,9 @@ function resolve(dir) {
const name = defaultSettings.title || '漏缆故障定位监测系统' // page title const name = defaultSettings.title || '漏缆故障定位监测系统' // page title
const port = process.env.port || process.env.npm_config_port || 8890 // dev port 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://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