From aaea4819b873c5ca7b9be1a87af173ee2015a12a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 25 一月 2024 14:52:24 +0800
Subject: [PATCH] 开发业务接口
---
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