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

修改表单修饰器

parent daebcf7a
...@@ -28,7 +28,6 @@ export const HandleClass = { ...@@ -28,7 +28,6 @@ export const HandleClass = {
name: '修改business,请求参数', name: '修改business,请求参数',
fun: ({ behavior = {}, formData, componentData, value, handleType }, resertValue) => { fun: ({ behavior = {}, formData, componentData, value, handleType }, resertValue) => {
// handleType 为init时不处理值的问题 // handleType 为init时不处理值的问题
const newFormData = formData.slice(); const newFormData = formData.slice();
const targets = (behavior.targets || '').split(','); const targets = (behavior.targets || '').split(',');
targets.forEach(ls => { targets.forEach(ls => {
......
...@@ -17,6 +17,7 @@ class HandleBehavior { ...@@ -17,6 +17,7 @@ class HandleBehavior {
return this; return this;
} }
getFormData = () => { getFormData = () => {
return this.formData return this.formData
} }
......
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