解决:
在关闭弹窗时给个事件重置form表单
如果弹窗时组件形式,则在父组件的点击事件里面加
<dialogForm ref="customer" />
this.$refs.customer.$refs['ruleForm'] && this.$refs.customer.$refs['ruleForm'].resetFields()
解决:
在关闭弹窗时给个事件重置form表单
如果弹窗时组件形式,则在父组件的点击事件里面加
<dialogForm ref="customer" />
this.$refs.customer.$refs['ruleForm'] && this.$refs.customer.$refs['ruleForm'].resetFields()