diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index fb5c0ac..0daf6d6 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -1,636 +1,4 @@
-
//修改后的首页
@@ -719,7 +87,7 @@ $homeNavLengh: 8;
-
+
diff --git a/src/views/login/component/account.vue b/src/views/login/component/account.vue
index a4d39c4..ad0fce4 100644
--- a/src/views/login/component/account.vue
+++ b/src/views/login/component/account.vue
@@ -105,8 +105,9 @@ const onSignIn = async () => {
if(res?.success){
// 存储 token 到浏览器缓存
Session.set('token', res.data.token);
+ localStorage.setItem('acgroup', JSON.stringify(res.data.user.acgroup));
// usertype判断登录角色
- // Cookies.set('userName', res.data.user.usertype === 1 ? 'admin' : 'user');
+ // Cookies.set('userName', res.data.records.acgroup === 1 ? 'admin' : 'user');
Cookies.set('userName', 'admin');
if (!themeConfig.value.isRequestRoutes) {
// 前端控制路由,2、请注意执行顺序
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 2c648ff..7d1ce69 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -2,7 +2,7 @@
-
![]()
+
{{ getThemeConfig.globalTitle }}