Procházet zdrojové kódy

修复系统设置-模块部署中,不可见模块的下拉框显示问题

huqi před 5 roky
rodič
revize
b5d2788062

+ 1 - 1
o2web/source/o2_core/o2/xDesktop/Authentication.js

@@ -86,7 +86,7 @@ MWF.xDesktop.Authentication = new Class({
                 this.socket.close();
                 this.socket = null;
             }
-            Cookie.dispose("x-token");
+            //Cookie.dispose("x-token");
             if (layout.session && layout.session.user) layout.session.user.token = "";
             if( callback ){
                 callback()

+ 3 - 3
o2web/source/x_component_Setting/SettingModuleUI.js

@@ -473,9 +473,9 @@ MWF.xApplication.Setting.UIModuleDocument.DeployEdit = new Class({
         this.pathInputNode.set("value", this.data.path);
 
         if (this.data.visible){
-            this.visibleInputNode.getFirst("option").set("checked", true);
+            this.visibleInputNode.getFirst("option").set("selected", true);
         }else{
-            this.visibleInputNode.getLast("option").set("checked", true);
+            this.visibleInputNode.getLast("option").set("selected", true);
         }
 
         // this.widgetNameInputNode.set("value", this.data.widgetName);
@@ -648,4 +648,4 @@ MWF.xApplication.Setting.UIModuleDocument.Deploy.Icon = new Class({
         }
     }
 
-});
+});