Просмотр исходного кода

修复组件隐藏的时候,组件高度为0的问题

unknown 5 лет назад
Родитель
Сommit
11cd9ed645
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      o2web/source/x_component_process_Xform/$Input.js

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

@@ -158,7 +158,6 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input =  new Class({
     _loadStyles: function(){
     _loadStyles: function(){
         if (this.json.styles) this.node.setStyles(this.json.styles);
         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.json.inputStyles) if (this.node.getFirst()) this.node.getFirst().setStyles(this.json.inputStyles);
-        debugger;
         if (this.iconNode && this.iconNode.offsetParent !== null ){ //没有被隐藏
         if (this.iconNode && this.iconNode.offsetParent !== null ){ //没有被隐藏
             var size = this.node.getSize();
             var size = this.node.getSize();
             //if (!size.y){
             //if (!size.y){