Increase ref attribute:
<el-form ref="formData"></el-form>
ElementUI自带清除表单方法
this.$refs[formName].resetFields(); // 重置表单移除校验
this.$refs[formName].clearValidate(); // 仅清除验证
Increase ref attribute:
<el-form ref="formData"></el-form>
ElementUI自带清除表单方法
this.$refs[formName].resetFields(); // 重置表单移除校验
this.$refs[formName].clearValidate(); // 仅清除验证