From 97f21296e89d2e4fe7ae2fd00ab63696365b1da2 Mon Sep 17 00:00:00 2001 From: shj <1790240199@qq.com> Date: 星期五, 13 五月 2022 16:56:08 +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