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

175
Views
no se puede guardar la respuesta del servidor en los datos de vue
<template> <div class="file-import"> <file-pond name="files" credits="" label-idle="<span class='filepond--label-action'>file</span>" accepted-file-types="image/jpeg, image/png" :allow-multiple="true" server= "http://localhost:3000/upload" v-on:init="handleFilePondInit" > </file-pond> <button @click="printthis"> hi </button> </div> </template>
 <script> setOptions({ server: { url: 'http://localhost:3000/', process: { url: './upload', method: 'POST', withCredentials: false, timeout: 7000, onload: (response) => { //console.log(JSON.parse(response)); }, onerror: null }, } })
 data () { return { fileList: [], } },

Estaba tratando de guardar la respuesta en setOptions en fileList. Sin embargo, si no puedo encontrar una manera de hacerlo. Si configuro directamente fileList = response o fileList.push(response), el código no reconoce fileList en el método setOptions. ¿Hay alguna forma de guardar la respuesta en la lista de archivos? ¡Gracias de antemano!

about 4 years ago · Santiago Trujillo
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!