有时表单中需要点击按钮跳转modal或者上传或者预览,但是不想触发Validator验证。 此时将button的value设置为button即可。 转载于:https://www.cnblogs.com/smallthen/p/6733681.html