From 185547d84110faeb341ca122a8e5c166a1f0681b Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期二, 12 四月 2022 09:51:23 +0800 Subject: [PATCH] Merge branch 'shf' of https://sinanoaq.cn:8888/r/ztqt into shf --- 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