瀏覽代碼

添加表单组件的isEmpty 方法

unknown 5 年之前
父節點
當前提交
a8f4f633b7
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      o2web/source/x_component_process_Xform/Stat.js

+ 0 - 7
o2web/source/x_component_process_Xform/Stat.js

@@ -37,13 +37,6 @@ MWF.xApplication.process.Xform.Stat = MWF.APPStat =  new Class({
             });
             });
         }.bind(this));
         }.bind(this));
     },
     },
-    isEmpty: function(){
-        var data = this.getData();
-        debugger;
-        if( typeOf(data) !== "array" )return true;
-        if( data.length === 0 )return true;
-        return false;
-    },
     getData: function(){
     getData: function(){
         if (!this.stat) return null;
         if (!this.stat) return null;
         if (!this.stat.stat) return null;
         if (!this.stat.stat) return null;