catch (error) { if (error.response.status === 400) this.$store.commit('snack', { color: 'red', message: error.response.data.message }) this.$store.commit('setLoading', false) }
axios catch pattern
Creator
Creator
Seonglae ChoCreated
Created
2021 Apr 7 6:11Editor
Editor
Seonglae ChoEdited
Edited
2021 Jul 2 6:56Refs
Refs