Browse Source

Added QIngkongshuju

jason.lu 6 years ago
parent
commit
c34bd9a26b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sign-in1.html

+ 2 - 2
sign-in1.html

@@ -117,9 +117,9 @@
             send_alert("用户名密码错误");
         }else{
             // TODO: 判断是否存在flowMaster,是否有权限
-            setCookieWithTimeout("doibyUser", obj.list[0].userId);
+            setCookieWithTimeout("doibyUser", obj.userId);
             alert("Cookie : " + getCookie("doibyUser"));
-            location.href = "denglu.html?userId=" + obj.list[0].userId;
+            location.href = "denglu.html?userId=" + obj.userId;
         }
     }