root před 1 rokem
rodič
revize
a0fa4d9c3b
1 změnil soubory, kde provedl 12 přidání a 12 odebrání
  1. 12 12
      uform.js

+ 12 - 12
uform.js

@@ -291,11 +291,11 @@ Namespace.register("U.A"); //A为Ajax简写
 
 //所有请求的ajax对象.
 U.A.allAjaxRequest =
-    {
-        requestNumber: 0, //总共请求次数
-        requestObject: [], //请求的所有ajax对象
-        forrequest: 0 //可能存在的循环请求的次数
-    };
+{
+    requestNumber: 0, //总共请求次数
+    requestObject: [], //请求的所有ajax对象
+    forrequest: 0 //可能存在的循环请求的次数
+};
 
 
 //服务器返回值结构图
@@ -11562,7 +11562,7 @@ U.MD.U.L.login = U.MD.U.L.DLTC = function (fun) {
     var _iframe = U.selectEl("#U_MD_HomeC_Pop iframe")[0];
     if ($("#U_MD_HomeC_Pop")[0]) {
         U.UF.F.windowTopCenter($("#U_MD_HomeC_Pop")[0]);
-        if(U.UF.C.queryString('code')){
+        if (U.UF.C.queryString('code')) {
             $("#U_MD_HomeC_Pop iframe")[0].contentWindow.location.reload(true);
         }
         try {
@@ -11576,22 +11576,22 @@ U.MD.U.L.login = U.MD.U.L.DLTC = function (fun) {
         catch (e) { }
     }
     else {
-        if(U.UF.C.queryString('code')){
-            var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLogin?code="+U.UF.C.queryString('code') });
+        if (U.UF.C.queryString('code')) {
+            var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLogin?code=" + U.UF.C.queryString('code') });
             // var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "src": "http://localhost:8080/#/inviteLogin?code="+U.UF.C.queryString('code') });
             new U.UF.UI.form("登录", _iframe,
                 {
                     "id": "U_MD_HomeC_Pop",
-                    "style": { "width": "490px", "height": "660px", "overflow": 'hidden','borderRadius':'10px' },
+                    "style": { "width": "490px", "height": "660px", "overflow": 'hidden', 'borderRadius': '10px' },
                 },
                 {
                     isdrag: false,
                     isstretching: false,
                     isenlarge: false,
                     isnarrow: false
-                }, { "style": { "height": "36px" }});
-        }else{
-            var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "width": "360px", "height": "480px", "src": "https://edu.cocorobo.cn/course/login?type=2" });
+                }, { "style": { "height": "36px" } });
+        } else {
+            var _iframe = $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "id": "UI_Login", "name": "UI_Login", "frameborder": "no", "border": "0", "scrolling ": "no", "width": "360px", "height": "480px", "src": "https://edu.cocorobo.hk/Login_en?type=2" });
             new U.UF.UI.form("", _iframe,
                 {
                     "id": "U_MD_HomeC_Pop",