Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

174
Vistas
Function Undefined when calling the dispatch method

the error shows : [vuex] unknown action type: tasks/fbreadData

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

you did a minor mistake in your call.

From your picture I can gather, that you are calling the function with dispatch('tasks/fbreadData), but fbreadData({commit}) seems to be within your getters from store-tasks.js

You can either call it as a getter.

handleAuthChange({commit, rootGetters}) {
  // ...
  rootGetters['tasks/fbreadData'];

} 

or you can reposition fbreadData into your actions in store-tasks.js.

I would decide that depending on whether you need to do additional tasks within fbreadData, or you are just returning a value.

Function does Something = Action

Function does nothing but return a value = Getter

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda