Problems encountered: when the form is submitted, the written rules, obviously not verify through a click event still execute code inside.
This validation What is the use?
Then I see elementUI components only to find that I missed a few lines of code.
methods which write
The perfect solution to the problems encountered, elementui component library was still considered very comprehensive.
Reference website: https://element.eleme.cn/#/zh-CN/component/form