handleEdit(row) {
this.form = Object.assign({}, row);
this.img = this.form.img
this.dialogFormVisible = true;
},
vue中修改的时候页面的元素跟着改变,使用Object.assign( )解决;
于 2023-04-12 16:51:54 首次发布
handleEdit(row) {
this.form = Object.assign({}, row);
this.img = this.form.img
this.dialogFormVisible = true;
},