root 2 năm trước cách đây
mục cha
commit
2ef4866b94
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      js/UForm/WindowFunction.js

+ 3 - 2
js/UForm/WindowFunction.js

@@ -35,6 +35,8 @@ U.UF.F.windowZooming = function (el) {
             U.UF.F.windowTopCenter(el);
             U.UF.F.windowTopCenter(el);
         }
         }
         else {
         else {
+            el.initcsstext = el.style.cssText; //获取原本的csstext值
+            el.ismaximize = true;
             //设置窗体最大化
             //设置窗体最大化
             U.selectEl(el).css({
             U.selectEl(el).css({
                 "width": "100%",
                 "width": "100%",
@@ -42,8 +44,7 @@ U.UF.F.windowZooming = function (el) {
                 "top": "0px",
                 "top": "0px",
                 "left": "0px"
                 "left": "0px"
             });
             });
-            el.initcsstext = el.style.cssText; //获取原本的csstext值
-            el.ismaximize = true;
+
         }
         }
     }
     }
     //U.MD.F.W.reSize();
     //U.MD.F.W.reSize();