cuando codifico así. funciona. se actualizan los datos en pinia
let thePerson = this.store.getPersonById(this.personId); // thePerson.id_card = this.person.id_card; thePerson.name = this.person.name; thePerson.contact = this.person.contact; thePerson.gender = this.person.gender;pero cuando uso alguno de estos, no funciona.
//thePerson = Object.assign({}, this.person); //thePerson = JSON.parse(JSON.stringify(this.person)); //thePerson = { ...this.person }; not work¿Hay alguna manera corta de hacer esto?