root 2 years ago
parent
commit
2ef4866b94
1 changed files with 3 additions and 2 deletions
  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);
         }
         else {
+            el.initcsstext = el.style.cssText; //获取原本的csstext值
+            el.ismaximize = true;
             //设置窗体最大化
             U.selectEl(el).css({
                 "width": "100%",
@@ -42,8 +44,7 @@ U.UF.F.windowZooming = function (el) {
                 "top": "0px",
                 "left": "0px"
             });
-            el.initcsstext = el.style.cssText; //获取原本的csstext值
-            el.ismaximize = true;
+
         }
     }
     //U.MD.F.W.reSize();