From d3e7923f5cc188da720ba9c3d6a536ae82e46f3c Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期四, 09 六月 2022 10:00:24 +0800 Subject: [PATCH] 删除 --- src/views/login/index.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index e36df7c..eaca46f 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -114,7 +114,7 @@ // return } } - + Cookies.set('token',data.token) _this.$store.commit('SET_ROLES', data.roles) Cookies.set('roles', JSON.stringify(data.roles)) setToken(data.token) @@ -123,6 +123,7 @@ Cookies.set('name', data.username) Cookies.set('userId', data.id) Cookies.set('company', data.company) + Cookies.set('companyid', data.companyid) let address = ''; if (data.city != null && data.city != 'null'){ address = data.city @@ -214,7 +215,7 @@ display: inline-block; height: 474px; width: 572px; - background: url("../../assets/img_bg_login.png") center no-repeat; + background: url("../../assets/bg.jpg") center no-repeat; } .login-main-form{ display: inline-block; -- Gitblit v1.9.2