From a90cf43e7a1f41dcde401ed1fd118b0f90d7c3f5 Mon Sep 17 00:00:00 2001 From: cqf Date: 星期四, 26 五月 2022 11:41:49 +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