提交 72286118 编写于 作者: NoSubject's avatar NoSubject

修复表单设计Tab页展现不正确的问题

上级 7c0e46c7
layout.app = true;
layout.addReady(function(){
// MWF.require("MWF.xScript.Environment", null, false);
// MWF.require("MWF.xScript.PageEnvironment", null, false);
......
......@@ -103,8 +103,10 @@ MWF.xApplication.process.FormDesigner.Module.Tab$Content = MWF.FCTab$Content = n
}.bind(this));
},
_recoveryModuleData: function(){
this.node.set("style", this.recoveryWidgetstyle);
if (this.recoveryWidgetstyle) this.node.set("style", this.recoveryWidgetstyle);
this.recoveryWidgetstyle = null;
if (this.json.recoveryStyles) this.json.styles = this.json.recoveryStyles;
this.json.recoveryStyles = null;
},
setCustomStyles: function(){
this._recoveryModuleData();
......
......@@ -254,8 +254,10 @@ MWF.xApplication.process.FormDesigner.Module.Tab$Page = MWF.FCTab$Page = new Cla
}.bind(this));
},
_recoveryModuleData: function(){
this.node.set("style", this.recoveryWidgetstyle);
if (this.recoveryWidgetstyle) this.node.set("style", this.recoveryWidgetstyle);
this.recoveryWidgetstyle = null;
if (this.json.recoveryStyles) this.json.styles = this.json.recoveryStyles;
this.json.recoveryStyles = null;
},
setCustomStyles: function(){
this._recoveryModuleData();
......
......@@ -398,8 +398,10 @@ MWF.xApplication.process.FormDesigner.Module.Tab = MWF.FCTab = new Class({
}.bind(this));
},
_recoveryModuleData: function(){
this.node.set("style", this.recoveryWidgetstyle);
if (this.recoveryWidgetstyle) this.node.set("style", this.recoveryWidgetstyle);
this.recoveryWidgetstyle = null;
if (this.json.recoveryStyles) this.json.styles = this.json.recoveryStyles;
this.json.recoveryStyles = null;
},
setCustomStyles: function(){
this._recoveryModuleData();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册