From 81fbccc69012cbedcc60e01a26b99185430dba2a Mon Sep 17 00:00:00 2001
From: shj <1790240199@qq.com>
Date: 星期五, 13 五月 2022 16:55:52 +0800
Subject: [PATCH] 隐患

---
 src/views/login/index.vue |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index ccbf68b..3a0e544 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -114,6 +114,7 @@
                             _this.$store.commit('SET_ROLES', data.roles)
                             Cookies.set('roles', JSON.stringify(data.roles))
                             setToken(data.token)
+                            Cookies.set('loginForm',data)
                             Cookies.set('userName', data.username)
                             Cookies.set('name', data.username)
                             Cookies.set('userId', data.id)

--
Gitblit v1.9.2