Browse Source

联调登录

Limengbo 5 years ago
parent
commit
b0dc74a23a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      view/question.html

+ 2 - 2
view/question.html

@@ -66,9 +66,9 @@
 </body>
 </body>
 <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
 <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
 <script> 
 <script> 
-//console.log(localStorage.getItem('userData') == 'undefined')
+alert(localStorage.getItem('userData'))
 window.onload=function(){
 window.onload=function(){
-    // if(localStorage.getItem('userData') == 'undefined') {
+    if(localStorage.getItem('userData') == 'undefined') {
         alert('请重新扫码登陆')
         alert('请重新扫码登陆')
         window.location.href = '../index.html'
         window.location.href = '../index.html'
         return false;
         return false;