apollo_form_pase
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -147,2 +147,4 @@ function _typeof(obj) { | ||
_this.hiddenFilds(); | ||
_this.formData.map(function (item) { | ||
@@ -251,5 +253,11 @@ if (!item.behaviors || !Array.isArray(item.behaviors) || item.behaviors.length === 0) return; | ||
this.formData = null; | ||
this.hiddenFilds = function () { | ||
_this.formData = _this.formData.filter(function (item) { | ||
return item.type !== 'hidden'; | ||
}); | ||
}; | ||
this.formData = props.formData || null; | ||
}; | ||
export default HandleBehavior; |
@@ -149,2 +149,4 @@ 'use strict'; | ||
_this.hiddenFilds(); | ||
_this.formData.map(function (item) { | ||
@@ -253,5 +255,11 @@ if (!item.behaviors || !Array.isArray(item.behaviors) || item.behaviors.length === 0) return; | ||
this.formData = null; | ||
this.hiddenFilds = function () { | ||
_this.formData = _this.formData.filter(function (item) { | ||
return item.type !== 'hidden'; | ||
}); | ||
}; | ||
this.formData = props.formData || null; | ||
}; | ||
module.exports = HandleBehavior; |
{ | ||
"name": "apollo_form_pase", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
21898
569