From cd0c55aa28547f78c0fd19f30f74319df79893fe Mon Sep 17 00:00:00 2001 From: xiaowang Date: Wed, 25 Feb 2026 17:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E5=8F=B0=E7=AE=A1=E7=90=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frontend/src/router/index.ts | 2 +- Frontend/src/views/admin/UsersView.vue | 74 ++++++++----------- .../xiaowang/yuminailcore/entity/UserDO.java | 6 ++ .../service/impl/UserServiceImpl.java | 20 ++--- 4 files changed, 50 insertions(+), 52 deletions(-) diff --git a/Frontend/src/router/index.ts b/Frontend/src/router/index.ts index 497c97e5..5b8034bd 100644 --- a/Frontend/src/router/index.ts +++ b/Frontend/src/router/index.ts @@ -59,12 +59,12 @@ const router = createRouter({ }, { path: '/admin', - name: 'admin', component: () => import('../views/admin/AdminLayout.vue'), meta: { requiresAuth: true, isAdmin: true, hideNav: true }, children: [ { path: '', + name: 'admin', redirect: '/admin/dashboard' }, { diff --git a/Frontend/src/views/admin/UsersView.vue b/Frontend/src/views/admin/UsersView.vue index c961d273..594f9df4 100644 --- a/Frontend/src/views/admin/UsersView.vue +++ b/Frontend/src/views/admin/UsersView.vue @@ -32,6 +32,9 @@ +