From 7ae7bcc0245afa4d94516feddc2b8bd60e4253c6 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期一, 11 十二月 2023 10:25:02 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes
---
CanadaMes-ui/src/views/login/index.vue | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/CanadaMes-ui/src/views/login/index.vue b/CanadaMes-ui/src/views/login/index.vue
index 80c4784..2ae5618 100644
--- a/CanadaMes-ui/src/views/login/index.vue
+++ b/CanadaMes-ui/src/views/login/index.vue
@@ -78,6 +78,8 @@
this.$refs.loginFormRef.validate(async valid => {
if (!valid) return;
login(this.loginForm).then(res => {
+ document.cookie="Authorizationssss="+this.loginForm.username+"; expires=Thu, 18 Dec 2203 12:00:00 GMT";
+
// 璁剧疆token
setToken(res.data.Authorization);
this.$router.push('/layout')
--
Gitblit v1.8.0