1.el-from 添加 ref='ruleForm'

2.调用this.$refs.ruleForm.resetFields();

使用案例

1.弹窗关闭、校验规则、数据有缓存

2.beforedestroy 数据置空