From 3835cf1ca8d5ac8475052d3876ebeb4a2c4160f1 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 22 Jan 2024 14:22:02 +0800
Subject: [PATCH] 根据角色,动态切换首页,及首页变更的一系列相关调整

---
 src/page/index/top/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/page/index/top/index.vue b/src/page/index/top/index.vue
index ad8822f..954cb78 100644
--- a/src/page/index/top/index.vue
+++ b/src/page/index/top/index.vue
@@ -170,7 +170,9 @@
                         }],
                     },
                 ]
-            }
+            },
+            showMenu: getStore({ name: "showMenu" }),
+            globalUserInfo: getStore({ name: "userInfo" }),
         }
     },
     filters: {},
@@ -188,7 +190,6 @@
             showFullScren: state => state.common.showFullScren,
             showCollapse: state => state.common.showCollapse,
             showSearch: state => state.common.showSearch,
-            showMenu: state => state.common.showMenu,
             showColor: state => state.common.showColor
         }),
         ...mapGetters([

--
Gitblit v1.9.3