mirror of
				https://gitee.com/bookshelfplus/bookshelfplus
				synced 2025-11-04 04:13:10 +08:00 
			
		
		
		
	localStorage操作统一使用localStorage.getItem,localStorage.removeItem;登录前判断用户名密码是否为空
This commit is contained in:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user