https://www.cnblogs.com/tentacion/p/11543169.html
如果是第一次就点击新增就没必要reset, 根据元素undefined判断
if (this.$refs[formName] !== undefined) {
this.$refs[formName].resetFields();
}
https://www.cnblogs.com/tentacion/p/11543169.html
如果是第一次就点击新增就没必要reset, 根据元素undefined判断
if (this.$refs[formName] !== undefined) {
this.$refs[formName].resetFields();
}