From 171f5e44e7af98d006955f14ef6c1a8cc992684d Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Sun, 28 Jan 2024 22:22:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E8=8F=9C=E5=8D=95=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en.yaml | 1 + locales/zh-CN.yaml | 1 + mock/asyncRoutes.ts | 9 +++++++++ src/views/system/menu/index.vue | 9 +++++++++ 4 files changed, 20 insertions(+) create mode 100644 src/views/system/menu/index.vue diff --git a/locales/en.yaml b/locales/en.yaml index a9e25217d..e21ed9769 100644 --- a/locales/en.yaml +++ b/locales/en.yaml @@ -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 diff --git a/locales/zh-CN.yaml b/locales/zh-CN.yaml index 52e7e5ed3..0343f084d 100644 --- a/locales/zh-CN.yaml +++ b/locales/zh-CN.yaml @@ -29,6 +29,7 @@ menus: hssysManagement: 系统管理 hsUser: 用户管理 hsRole: 角色管理 + hsSystemMenu: 菜单管理 hsDept: 部门管理 hseditor: 编辑器 hsabnormal: 异常页面 diff --git a/mock/asyncRoutes.ts b/mock/asyncRoutes.ts index af626514a..ef6d803f2 100644 --- a/mock/asyncRoutes.ts +++ b/mock/asyncRoutes.ts @@ -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", diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue new file mode 100644 index 000000000..a1fbc4280 --- /dev/null +++ b/src/views/system/menu/index.vue @@ -0,0 +1,9 @@ + + +