From fb18c04248c5b82bf12ce2d16a592f8f57ce9452 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Mon, 21 Oct 2024 17:18:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E8=A7=92=E8=89=B2=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/UserApi.ts | 2 +- src/components/SysMenu.vue | 12 +++++++++--- src/layouts/MainLayout.vue | 14 ++++++++++++-- src/pages/RoleManage.vue | 5 ++--- src/pages/UserLogin.vue | 3 ++- src/pages/UserManage.vue | 16 ++++++++++++++-- src/router/routes.ts | 22 +++++++++++++++++++++- 7 files changed, 61 insertions(+), 13 deletions(-) diff --git a/src/api/UserApi.ts b/src/api/UserApi.ts index 5d1ce10..e4d2bb1 100644 --- a/src/api/UserApi.ts +++ b/src/api/UserApi.ts @@ -100,7 +100,7 @@ export interface role { roleConfig: { lineId: number; lineType: string; - }; + }[]; } interface userInfo { remainingSecond: number; diff --git a/src/components/SysMenu.vue b/src/components/SysMenu.vue index 2a23072..9e569ae 100644 --- a/src/components/SysMenu.vue +++ b/src/components/SysMenu.vue @@ -1,7 +1,7 @@