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

78
Views
¿Cómo hacer múltiples confirmaciones Vuex?

después de recibir los datos de la solicitud, intento transferirlos a la tienda. pero no es posible transferir todo a la vez, solo uno a la vez. ¿Cómo resolver este problema?

 async loadFines({ commit }, payload) { commit('setIsTableLoading', true); try { const { data: { data: fines, meta: pagination, query: backendQuery, }, } = await this.$axios.get('/fines', { params: payload }); commit('setFinesList', fines); commit('setPagination', pagination); commit('setBackendQuery', backendQuery); } catch (error) { console.log(error); } finally { commit('setIsTableLoading', false); }}

¿Cómo hacer esos 3 compromisos correctamente?

 export const mutations = { setFinesList(state, payload) { state.finesList = payload }, setIsTableLoading(state, payload) { state.isTableLoading = payload; }, setPagination(state, payload) { state.pagination = payload; }, setLabels(state, payload) { state.labels = payload; }, setBackendQuery(state, payload) { state.backendQuery = payload; } }
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!