Commit 4c7d6a50 by Jaxon

feat(glsx-combi-form): selectAddAttr 修改结构增加可读性

1 parent 0d724bee
...@@ -843,8 +843,8 @@ export default { ...@@ -843,8 +843,8 @@ export default {
} }
} }
} }
if (targetItem.changeAttr) { if (targetItem.changeAttr && isFunction(targetItem.changeAttr)) {
targetItem.changeAttr && await targetItem.changeAttr(value, targetItem, this.formObj, this.formData); await targetItem.changeAttr(value, targetItem, this.formObj, this.formData);
} }
}, },
// addOptionConfirm(item) { // addOptionConfirm(item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!