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
Cómo abrir una carpeta para cambiar la foto cargada en 'vue-upload-component'

Tengo vue-upload-component . Necesito mostrar las imágenes cargadas y mostrar en cada botón de imagen para cambiarlo (Cargar nueva imagen).

¿Qué debería estar en el método uploadNew? ¿Cómo abrir la carpeta de exploración para una nueva imagen?

 <div> <file-upload :ref="uploaderName" v-model="files" :input-id="uploaderName" :extensions="formats" :drop="drop" :multiple="multiple" @input-filter="inputFilter" > Upload a file </file-upload> <span>or drag and drop</span> </div>

después

 <div v-show="files.length && !loading" class="flex" > <img v-for="image in files" :key="image.id" :src="image.url" :style="[imageSize]" class="uploaded-image p-2 mr-2 border rounded border-gray-200" > <button @click='uploadNew'> Upload new </button> <button @click='clearUploader'> Remove </button> </div>

y datos

 methods: { clearUploader() { this.$refs[this.uploaderName].clear(); }, uploadNew() { },
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!