From 4a34ae32407330c6600d24b065c7de2ad9a51d6b Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 一月 2024 10:49:04 +0800
Subject: [PATCH] 开发业务接口

---
 company/src/router/index.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/company/src/router/index.js b/company/src/router/index.js
index 56a7f96..cf320c3 100644
--- a/company/src/router/index.js
+++ b/company/src/router/index.js
@@ -3,6 +3,7 @@
 import AppLayout from '@/layouts/AppLayout'
 import { getUserInfo } from '@/api/system/common'
 const Login = () => import('@/views/login')
+
 const ErrorNoPermissions = () => import('@/views/no-permissions')
 const Error404 = () => import('@/views/not-found')
 
@@ -18,6 +19,7 @@
       path: '/login',
       component: Login
     },
+
     // 鏃犳潈闄�
     {
       name: 'no-permissions',
@@ -52,7 +54,6 @@
   }
   // 楠岃瘉鐢ㄦ埛鏄惁鐧诲綍
   const userInfo = router.app.$options.store.state.userInfo
-  // console.log(userInfo)
   if (userInfo != null) {
     // 濡傛灉鐢ㄦ埛涓嶅瓨鍦ㄦ潈闄�
     if (userInfo.permissions.length === 0) {
@@ -67,7 +68,6 @@
     next()
     return
   }
-  // debugger
   getUserInfo()
     .then(userInfo => {
       // 濡傛灉鐢ㄦ埛涓嶅瓨鍦ㄦ潈闄�

--
Gitblit v1.9.3