使用 this.formData = {...row} //或 this.formData = JSON.parse(JSON.stringify(row)) 而不是 this.formData = row row是对象类型obj,浅拷贝复制的是地址,所以要进行深拷贝 *若需要拷贝的数据为数组,则this.data = [...row]无作用,需使用this.data= JSON.parse(JSON.stringify(row))