Open xianghongai opened 3 years ago
Translation of this issue:\n\n### Element UI version\n2.14.1\n\n### OS/Browsers version\nWindows 10\n\n### Vue version\n2.6.12\n\n### Reproduction Link\nhttps://github.com/ElemeFE/element/issues/new/choose\n\n### Steps to reproduce\nEncapsulating a treeselect requires linkage verification with formitem. Now, the checkbox component in tree is triggered in the resetfields event, and the checkbox change event triggers verification and raises an exception.\n\n### What is Expected?\nCheck box component in tree does not trigger validator\n\n### What is actually happening?\nThe check box component in tree triggers the validator\n\n
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Element UI version
2.14.1
OS/Browsers version
Windows 10
Vue version
2.6.12
Reproduction Link
https://github.com/ElemeFE/element/issues/new/choose
Steps to reproduce
封装一个 TreeSelect,需要与 FormItem 联动校验,现在在 resetFields 事件中触发了 Tree 中 Checkbox 组件,而 Checkbox 的 change 事件又触发了校验,引发了异常。
What is Expected?
Tree 中 Checkbox 组件点击不触发 validator
What is actually happening?
Tree 中 Checkbox 组件点击触发了 validator