1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-11-04 04:13:10 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

localStorage操作统一使用localStorage.getItem,localStorage.removeItem;登录前判断用户名密码是否为空

This commit is contained in:
2022-04-06 11:11:23 +08:00
parent 4937cfb8e3
commit 69b46b5e97
9 changed files with 84 additions and 74 deletions

View File

@@ -1,5 +1,5 @@
<script>
postRequest('/debug/status', { token: localStorage.token })
postRequest('/debug/status', { token: localStorage.getItem("token") })
.then(function (response) {
var axiosData = response.data;
var status = axiosData.status;