Vue 如何清除Form 表单验证二次弹出表单 清除验证上次提示信息 微辣_ 2021-08-10 755 阅读1分钟 在弹出表单方法内加入下面代码即可 ①清除表单内容和清除表单验证消息 this.$nextTick(()=>{ this.$refs.form.resetFields(); }) ②只清除表单验证消息、不清楚表单内容 this.$nextTick(()=>{ // 只清除验证 this.$refs['form'].clearValidate() })