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

147
Views
Cómo ingresar a un filtro en particular a través de la ruta en la que se encuentra

Como ruta estoy usando algo como esto:

 <router-link to="/gallery" ><i>{{webData.clickForMore}}</i><p>&#8594;</p></router-link>

Entonces, estoy tratando de lograr que el usuario navegue haciendo clic en la ruta y navegue por la ruta pero en el filtro específico.

Este es el código que se utiliza para seleccionar un filtro específico (que se encuentra en el otro archivo de Vue):

 async filterImages (blockNumber) { this.isReadyImg = this.nextImageState = false; this.isFilterActive = true; this.$store.commit('setGalleryFilterNumber', blockNumber); this.filteredImages = await this.$store.getters.getGalleryFilter; /*console.log(this.filteredImages)*/ this.currImg = this.filteredImages[1]; if (this.isFunction(this.currImg.src)) { let index = await this.$store.dispatch('getIndexOfImage', this.currImg); this.$store.commit('setGalleryIndex', index); await this.getImageSource(); } else this.isReadyImg = true; let e = event.target; this.setActiveFilter(e); },

¿Se puede hacer esto sin usar una ruta dinámica, tal vez se pueda hacer usando v-for ?

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