From 309b5a2eb4a99f20b2dcceca41c7ed1275bcc6ae Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期二, 22 七月 2025 17:26:08 +0800 Subject: [PATCH] '注册导航上传loading' --- src/router/utils.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/router/utils.ts b/src/router/utils.ts index 28e32b8..d8ef0f7 100644 --- a/src/router/utils.ts +++ b/src/router/utils.ts @@ -84,7 +84,7 @@ /** 浠巐ocalStorage閲屽彇鍑哄綋鍓嶇櫥褰曠敤鎴风殑瑙掕壊roles锛岃繃婊ゆ棤鏉冮檺鐨勮彍鍗� */ function filterNoPermissionTree(data: RouteComponent[]) { const currentRoles = - storageLocal().getItem<DataInfo<number>>(userKey)?.roles ?? []; + storageLocal().getItem<DataInfo<number>>(userKey)?.exRoles ?? []; const newTree = cloneDeep(data).filter((v: any) => isOneOfArray(v.meta?.roles, currentRoles) ); -- Gitblit v1.9.1