Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

242
Vistas
in quasar framework, how can i set an object to pania state

when i code like this. it do works. the data in pinia is updated

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;

but when i use any of these, it not work.

//thePerson = Object.assign({}, this.person);
//thePerson = JSON.parse(JSON.stringify(this.person));
//thePerson = { ...this.person }; not work

is there any short way to do this?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda