From ac571ea4b02b8cbd06e33f149d2b1d284661fae9 Mon Sep 17 00:00:00 2001 From: zhj Date: Mon, 30 Dec 2024 16:46:21 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=95=8C=E9=9D=A2=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/auth.ts | 8 + src/views/auth/backendUser/index.vue | 65 +++++-- src/views/auth/role/index.vue | 256 +++++++++++++++++++++++++++ vite.config.ts | 2 +- 4 files changed, 318 insertions(+), 13 deletions(-) create mode 100644 src/views/auth/role/index.vue diff --git a/src/router/modules/auth.ts b/src/router/modules/auth.ts index 3291fa3..c8190ea 100644 --- a/src/router/modules/auth.ts +++ b/src/router/modules/auth.ts @@ -34,6 +34,14 @@ export default { meta: { title: "用户管理" } + }, + { + path: "/auth/role", + name: "role", + component: () => import("@/views/auth/role/index.vue"), + meta: { + title: "角色管理" + } } ] } satisfies RouteConfigsTable; diff --git a/src/views/auth/backendUser/index.vue b/src/views/auth/backendUser/index.vue index 24e28cf..c066295 100644 --- a/src/views/auth/backendUser/index.vue +++ b/src/views/auth/backendUser/index.vue @@ -206,12 +206,55 @@ onMounted(() => {