From d86d508f5035f7d072bf2593777fd47186d0e91f Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期五, 02 六月 2023 09:37:25 +0800
Subject: [PATCH] Revert "#"
---
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