1.el-dialog 组件有个close方法,在该方法中重置表单 //关闭弹框是重置表格 closeDialog(type){ if(type){ this.$refs[type].resetFields(); } },