From c482628d3daf21dafba7e2b9eaba6e46ffda0fdb Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 27 二月 2025 20:11:14 +0800
Subject: [PATCH] 首页跳转bug

---
 src/plugins/auth.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/plugins/auth.js b/src/plugins/auth.js
index 6c6bc24..799b1ba 100644
--- a/src/plugins/auth.js
+++ b/src/plugins/auth.js
@@ -15,6 +15,7 @@
 function authRole(role) {
   const super_admin = "admin";
   const roles = store.getters && store.getters.roles
+  console.log("褰撳墠鐢ㄦ埛瑙掕壊", roles)
   if (role && role.length > 0) {
     return roles.some(v => {
       return super_admin === v || v === role

--
Gitblit v1.8.0