2、表单重置
添加数据弹框显示之前使用
this.form = Object.assign({}, undefined);//重置表单使用下面的方法无效,要么就是重置后只能添加第一次 之后就无法输入
this.$nextTick(() => { this.$refs[formName].resetFields(); });
本文来自博客园,作者:💞Travelerᘗ,转载请注明原文链接:https://www.cnblogs.com/LindaBlog/p/15796755.html