lsc 11 ay önce
ebeveyn
işleme
d634234bb2
1 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 4 3
      js/Desktop/Onload.js

+ 4 - 3
js/Desktop/Onload.js

@@ -466,9 +466,10 @@ U.MD.D.getuser = function () {
                                 }else{
                                     U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
                                 }
-                                if(U.UF.C.queryString('shareCourseId')){
-                                    console.log(U.UF.C.queryString('shareCourseId'));
-                                    U.MD.D.I.openInApplication("studyDetail", U.UF.C.queryString('shareCourseId'), 5, 1)
+                                let shareCourseId = window.location.href.indexOf("?shareCourseId=")!=-1?window.location.href.split("?shareCourseId=")[1].toString():''
+                                if(shareCourseId){
+                                    console.log(shareCourseId);
+                                    U.MD.D.I.openInApplication("studyDetail", shareCourseId, 5, 1)
                                 }
                                 U.MD.O.P.connect(); //登录成功后连接socket服务同步协同编辑
                             }, [], { "type": "GET", "withCredentials": true });