From 9bbb2946699515807256dfb30ab57359f4fdf563 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期一, 24 三月 2025 16:09:43 +0800
Subject: [PATCH] gx优化
---
src/router/frontEnd.ts | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/router/frontEnd.ts b/src/router/frontEnd.ts
index 5393f93..57e8a53 100644
--- a/src/router/frontEnd.ts
+++ b/src/router/frontEnd.ts
@@ -23,6 +23,7 @@
if (window.nextLoading === undefined) NextLoading.start();
// 无 token 停止执行下一步
if (!Session.get('token')) return false;
+ //检查用户是管理员账号可以选择客户登录
// 触发初始化用户信息 pinia
// https://gitee.com/lyt-top/vue-next-admin/issues/I5F1HP
await useUserInfo(pinia).setUserInfos();
--
Gitblit v1.8.0