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

184
Vistas
How do I get array inside array datain Vuejs

[enter image description here]

Please how do I get the MentorProfile data's I already iterate for the main data coming...

 <div v-for="notification in notifications" :key="notification.id">
        <div v-for="profile in notification.MentorProfile" :key="profile.id">
            
            <q-item clickable v-ripple>
            <q-item-section>
                {{ notification.text }} from 
            </q-item-section>
            
            <q-item-section avatar>
            <q-avatar rounded>
                <img src="../assets/mentor.jpg">

            </q-avatar>
            </q-item-section>
            <span>{{ profile.name }}</span>
        </q-item>
        
      <q-separator />
      </div>
    </div>
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Try like following snippet:

new Vue({
  el: '#demo',
  data() {
    return {
      notifications: [{id: 1, file: 'file1', text: 'notification text', MentorProfile: [{id: 1, name: 'Mentor 1'}]}]
    }
  }
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<div id="demo">
  <div v-for="notification in notifications" :key="notification.id">
    <p>{{ notification.text }} from </p>
    <div v-for="profile in notification.MentorProfile" :key="profile.id">
      <img src="https://picsum.photos/20">
      <span>{{ profile.name }}</span>
    </div>
  </div>
</div>

about 4 years ago · Juan Pablo Isaza Denunciar
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