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

63
Vistas
Object copy from object in another component vue

https://codesandbox.io/s/gifted-cori-qlhid5?file=/src/App.vue:0-2616

If i copy object with help function mergeDeep, object change if it is nested object

    var obj = {
        charSpacing: {
            test:{
                test:2,
            },   
            fromCharSpacing: 1,
        },
    }

obj.charSpacing.fromCharSpacing - dont change

obj.charSpacing.test.test - change!

If I print the values of the object before and after to the console, I see that test.test has become a proxy

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