Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
Eliminar filas en blanco de la tabla
<tr v-for="(value, key) in this.object" :key="key"> <div v-if="value.item1 != null"> <td width="400" class="alnleft">{{value.item1}}</td> <td width="50" class="alnright">{{value.item2}}</td> </div> </tr>

Con la v-si estoy omitiendo valores para imprimir en tr. Pero encima se está creando código de impresión negro tr y espacio innecesario. Por favor, sugiera cómo deshacerse de esto.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Nunca querrás colocar un div como hijo de un tr . Puede evitar que se inserte el div reemplazándolo con template .

 <tr v-for="(value, key) in this.object" :key="key"> <template v-if="value.item1 != null"> <td width="400" class="alnleft">{{value.item1}}</td> <td width="50" class="alnright">{{value.item2}}</td> </template> </tr>

¿Eso soluciona tu problema?

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!