From 251b58150984896c86cd306cd3a4db77f14b7e1a Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期五, 21 十月 2022 12:32:09 +0800
Subject: [PATCH] 45

---
 src/views/login/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 74be506..6316327 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -73,7 +73,9 @@
             if (re===false){
                 Toast('登录失败,请重新登录')
             } else {
-                console.log(re)
+                Session.set('token', re)
+                Toast('登录成功。。。。。')
+                router.push('/')
             }
         })
     }

--
Gitblit v1.8.0