From 7a8f1cb7741436c43fc5859707da5041d6648953 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期一, 21 七月 2025 17:21:41 +0800 Subject: [PATCH] - --- src/router/index.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index a4d8e99..353db8c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -137,7 +137,7 @@ } if (Cookies.get(multipleTabsKey) && userInfo) { // 鏃犳潈闄愯烦杞�403椤甸潰 - if (to.meta?.roles && !isOneOfArray(to.meta?.roles, userInfo?.roles)) { + if (to.meta?.roles && !isOneOfArray(to.meta?.roles, userInfo?.exRoles)) { next({ path: "/error/403" }); } // 寮�鍚殣钘忛椤靛悗鍦ㄦ祻瑙堝櫒鍦板潃鏍忔墜鍔ㄨ緭鍏ラ椤祑elcome璺敱鍒欒烦杞埌404椤甸潰 -- Gitblit v1.9.1