From e7f3835c7ffb0de6747c7c496c590f7f42e455fc Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 24 一月 2024 15:05:33 +0800
Subject: [PATCH] 111
---
company/src/router/index.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/company/src/router/index.js b/company/src/router/index.js
index a9d2ce8..56a7f96 100644
--- a/company/src/router/index.js
+++ b/company/src/router/index.js
@@ -52,6 +52,7 @@
}
// 楠岃瘉鐢ㄦ埛鏄惁鐧诲綍
const userInfo = router.app.$options.store.state.userInfo
+ // console.log(userInfo)
if (userInfo != null) {
// 濡傛灉鐢ㄦ埛涓嶅瓨鍦ㄦ潈闄�
if (userInfo.permissions.length === 0) {
@@ -66,6 +67,7 @@
next()
return
}
+ // debugger
getUserInfo()
.then(userInfo => {
// 濡傛灉鐢ㄦ埛涓嶅瓨鍦ㄦ潈闄�
--
Gitblit v1.9.3