mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-08 23:38:57 +08:00
存储设置列表接口对接
This commit is contained in:
@@ -21,7 +21,7 @@ export const constantRoutes: Array<RouteRecordRaw> = [
|
||||
path: '/',
|
||||
redirect: 'workbench',
|
||||
name: 'index',
|
||||
component: Layout
|
||||
component: Layout,
|
||||
},
|
||||
|
||||
{
|
||||
@@ -31,19 +31,19 @@ export const constantRoutes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: 'admin/edit',
|
||||
component: () => import('@/views/permission/admin/edit.vue'),
|
||||
meta: { title: '编辑管理员', activeMenu: '/permission/admin' }
|
||||
meta: { title: '编辑管理员', activeMenu: '/permission/admin' },
|
||||
},
|
||||
{
|
||||
path: 'menu/edit',
|
||||
component: () => import('@/views/permission/menu/edit.vue'),
|
||||
meta: { title: '编辑菜单', activeMenu: '/permission/menu' }
|
||||
meta: { title: '编辑菜单', activeMenu: '/permission/menu' },
|
||||
},
|
||||
{
|
||||
path: 'role/edit',
|
||||
component: () => import('@/views/permission/role/edit.vue'),
|
||||
meta: { title: '编辑角色', activeMenu: '/permission/role' }
|
||||
}
|
||||
]
|
||||
meta: { title: '编辑角色', activeMenu: '/permission/role' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/organize',
|
||||
@@ -52,27 +52,38 @@ export const constantRoutes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: 'department/edit',
|
||||
component: () => import('@/views/organize/department/edit.vue'),
|
||||
meta: { title: '编辑部门', activeMenu: '/organize/department' }
|
||||
meta: { title: '编辑部门', activeMenu: '/organize/department' },
|
||||
},
|
||||
{
|
||||
path: 'post/edit',
|
||||
component: () => import('@/views/organize/post/edit.vue'),
|
||||
meta: { title: '编辑岗位', activeMenu: '/organize/post' }
|
||||
}
|
||||
]
|
||||
meta: { title: '编辑岗位', activeMenu: '/organize/post' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/setting',
|
||||
component: Layout,
|
||||
children: [
|
||||
{
|
||||
path: 'storage/edit',
|
||||
component: () => import('@/views/setting/storage/edit.vue'),
|
||||
meta: { title: '存储设置', activeMenu: '/setting/storage' },
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
component: () => import('@/views/account/login.vue')
|
||||
component: () => import('@/views/account/login.vue'),
|
||||
},
|
||||
{
|
||||
path: '/500',
|
||||
component: () => import('@/views/error/500.vue')
|
||||
component: () => import('@/views/error/500.vue'),
|
||||
},
|
||||
{
|
||||
path: '/:pathMatch(.*)*',
|
||||
component: () => import('@/views/error/404.vue')
|
||||
}
|
||||
component: () => import('@/views/error/404.vue'),
|
||||
},
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
@@ -84,7 +95,7 @@ const router = createRouter({
|
||||
} else {
|
||||
return { top: 0 }
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
Reference in New Issue
Block a user