handleCancel (val) {
Object.assign(this.modalFormData, val)
// this.modalFormData = val
}
is there any difference between these two assignments in vue?
there is a problem with writing that way below, and it may also be affected by other places, but it is correct to write like that above. Why?