Commit 7cf9b1e8 authored by 满振华's avatar 满振华

修改表单修饰器

parent daebcf7a
......@@ -28,7 +28,6 @@ export const HandleClass = {
name: '修改business,请求参数',
fun: ({ behavior = {}, formData, componentData, value, handleType }, resertValue) => {
// handleType 为init时不处理值的问题
const newFormData = formData.slice();
const targets = (behavior.targets || '').split(',');
targets.forEach(ls => {
......
......@@ -17,6 +17,7 @@ class HandleBehavior {
return this;
}
getFormData = () => {
return this.formData
}
......@@ -64,4 +65,4 @@ class HandleBehavior {
this.formData = this.formData.filter(item => item.type !== 'hidden')
}
}
export default HandleBehavior
export default HandleBehavior
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment