/** * 表单重置的方法 */ resetForm(formName) { this.$next((=>{ this.$refs[formName].resetFields(); }) },
elementUI当再次打开对话框的时候,清除对话框里的内容(校验内容)
原文:https://www.cnblogs.com/tw6668/p/12098286.html