mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-12-15 14:50:29 +08:00
feat: 添加系统管理-菜单管理
This commit is contained in:
@@ -29,6 +29,7 @@ menus:
|
||||
hssysManagement: System Manage
|
||||
hsUser: User Manage
|
||||
hsRole: Role Manage
|
||||
hsSystemMenu: Menu Manage
|
||||
hsDept: Dept Manage
|
||||
hseditor: Editor
|
||||
hsabnormal: Abnormal Page
|
||||
|
||||
@@ -29,6 +29,7 @@ menus:
|
||||
hssysManagement: 系统管理
|
||||
hsUser: 用户管理
|
||||
hsRole: 角色管理
|
||||
hsSystemMenu: 菜单管理
|
||||
hsDept: 部门管理
|
||||
hseditor: 编辑器
|
||||
hsabnormal: 异常页面
|
||||
|
||||
@@ -34,6 +34,15 @@ const systemRouter = {
|
||||
roles: ["admin"]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/system/menu/index",
|
||||
name: "SystemMenu",
|
||||
meta: {
|
||||
icon: "menu",
|
||||
title: "menus.hsSystemMenu",
|
||||
roles: ["admin"]
|
||||
}
|
||||
},
|
||||
{
|
||||
path: "/system/dept/index",
|
||||
name: "SystemDept",
|
||||
|
||||
9
src/views/system/menu/index.vue
Normal file
9
src/views/system/menu/index.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
defineOptions({
|
||||
name: "SystemMenu"
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="main">菜单管理</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user