lsc hace 5 meses
padre
commit
de3711a1c7
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      js/Desktop/Onload.js

+ 3 - 3
js/Desktop/Onload.js

@@ -598,7 +598,7 @@ U.MD.D.getuser2 = function (userid, cid) {
         if ($("#U_MD_HomeC_Pop")[0]) {
             $("#U_MD_HomeC_Pop")[0].close(); //关闭登陆
         }
-        loginPan(res.value[0][0])
+        loginPan(res.value[0][0], userid)
         U.MD.D.I.openInApplication("studyDetail", cid, 2, 2)
     }, [], { "type": "GET", "withCredentials": true });
 }
@@ -741,7 +741,7 @@ function formatDate(_date) {
 }
 
 
-function loginPan(userInfo) {
+function loginPan(userInfo, userId) {
   const currentDate = new Date();
 
   // 判断 isLogin1 和 isLogin2 是否为 2 或者是否过期(且过期时间是有效的日期格式)
@@ -970,7 +970,7 @@ function loginSet(userInfo, res){
             window.location.reload();
         }, [], { "type": "POST", "withCredentials": true });
     } else {
-        loginPan(userInfo)
+        loginPan(userInfo, userId)
     }
     $(".login")[0].style.display = "none";
     $(".register")[0].style.display = "none";