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

223
Vistas
How to fetch data in vueJS?

a column data is showing in array : ["1k","2k","3k"] I used foreach to filter and the data type is showing string and it shows like this again: ["1k","2k","3k"]

  1. If I convert this into an array then v-for loop does not show data.
  2. photographers data is the API action state. Output: I want to print each value in dropdown from this array.
  3. I am trying to do v-for on print.
  4. I tried to do print as a computed function but no result.
  5. If you want all code then I can print its too much logic that's why I have trimmed it which is required.

Thanks

code:

data() {
return {
 print: [],
  printPrice: [],
},
computed: {
getImageDetails(){ 
        this.photographersdata.forEach((details) => {
            if(details.id === parseInt(this.imageId)){
                this.print = details.print;
                this.printPrice = details.print_price;
            }
        })
    },```
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