root 3 years ago
parent
commit
fc014198ba
2 changed files with 4 additions and 4 deletions
  1. 2 2
      js/Controls/Basic.js
  2. 2 2
      js/Desktop/DeskTop.js

+ 2 - 2
js/Controls/Basic.js

@@ -1925,7 +1925,7 @@ U.UF.UI.form.prototype = {
             this.header = _headel; //设置中间的全局变量
         }
         //创建中间
-        _contentel = $$("div", { "style": { "cssText": "width: 100%; height:100%; position: relative;"} }, _formel);
+        _contentel = $$("div", { "style": { "cssText": "width: 100%; position: relative;"} }, _formel);
         //中间的内容
         _contentattr.usbody = "true";
         //窗体头部属性统一设置
@@ -1936,7 +1936,7 @@ U.UF.UI.form.prototype = {
         }
         else {
             _contentattr.style = {
-                cssText: "text-align: left; overflow: auto;"
+                cssText: "text-align: left; "
             };
         }
         //创建中间内容元素

+ 2 - 2
js/Desktop/DeskTop.js

@@ -298,11 +298,11 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         ;
     //选择应用处理
     switch (str) {
-        
+
         case "project": //好友打开
             _formdiv = new U.UF.UI.form(
                 "项目管理",
-                $$("iframe", { "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course" }), {
+                $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://pbl.cocorobo.cn/pbl-teacher-table/dist/#/course" }), {
                 "id": "project",
                 "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }