Is it good practice to store the axios response error in axios store and handle it within the component?

前端 未结 0 1888
时光取名叫无心
时光取名叫无心 2020-11-22 13:35

I am planing to execute all server CRUDing transmissions via vuex by axios. like:

actions: { // dispatch
    createCategory(ctx) {
        return axios.post(p         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题