From 3f44e29a7e2620bcc498f9d4bf7c454b00225ee2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 23 一月 2024 10:20:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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