Browse Source

[内容管理]修复单选按钮预览报错的问题

unknown 5 năm trước cách đây
mục cha
commit
e1e3a9fa95

+ 1 - 1
o2web/source/x_component_process_Xform/$Input.js

@@ -158,7 +158,7 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
     _loadStyles: function(){
         if (this.json.styles) this.node.setStyles(this.json.styles);
         if (this.json.inputStyles) if (this.node.getFirst()) this.node.getFirst().setStyles(this.json.inputStyles);
-        if (this.iconNode && this.iconNode.offsetParent !== null ){ //没有被隐藏
+        if (this.iconNode && this.iconNode.offsetParent !== null){
             var size = this.node.getSize();
             //if (!size.y){
             //    var y1 = this.node.getStyle("height");

+ 1 - 0
o2web/source/x_component_process_Xform/Checkbox.js

@@ -1,4 +1,5 @@
 MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
+MWF.require("MWF.widget.UUID", null, false);
 MWF.xApplication.process.Xform.Checkbox = MWF.APPCheckbox =  new Class({
 	Implements: [Events],
 	Extends: MWF.APP$Input,

+ 1 - 0
o2web/source/x_component_process_Xform/Radio.js

@@ -1,4 +1,5 @@
 MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
+MWF.require("MWF.widget.UUID", null, false);
 MWF.xApplication.process.Xform.Radio = MWF.APPRadio =  new Class({
 	Implements: [Events],
 	Extends: MWF.APP$Input,