From f34da12c558d57d156529e23c04e2388e60b94e5 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 14 六月 2023 10:27:17 +0800
Subject: [PATCH] #组托逻辑

---
 src/main/webapp/views/login.html |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/login.html b/src/main/webapp/views/login.html
index 1c0772a..af1d465 100644
--- a/src/main/webapp/views/login.html
+++ b/src/main/webapp/views/login.html
@@ -133,6 +133,7 @@
             if (res.code === 200){
               localStorage.setItem("token", res.data.token);
               localStorage.setItem("username", res.data.username);
+              localStorage.setItem("password", password);
               window.location.href = "index.html";
             } else if (res.code === 10001) {
               layer.tips(res.msg, '#username', {tips: [4, '#ff0000']});

--
Gitblit v1.9.1