|
@@ -8,6 +8,7 @@ export const actions = {
|
|
|
.then(response => {
|
|
.then(response => {
|
|
|
commit('order/GET_ORDERLIST_SUCCESS', response.data)
|
|
commit('order/GET_ORDERLIST_SUCCESS', response.data)
|
|
|
}, err => {
|
|
}, err => {
|
|
|
|
|
+ commit('order/GET_ORDERLIST_SUCCESS', {})
|
|
|
commit('order/GET_ORDERLIST_FAILURE', err)
|
|
commit('order/GET_ORDERLIST_FAILURE', err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
@@ -18,6 +19,7 @@ export const actions = {
|
|
|
.then(response => {
|
|
.then(response => {
|
|
|
commit('order/GET_ORDERLIST_SUCCESS', response.data)
|
|
commit('order/GET_ORDERLIST_SUCCESS', response.data)
|
|
|
}, err => {
|
|
}, err => {
|
|
|
|
|
+ commit('order/GET_ORDERLIST_SUCCESS', {})
|
|
|
commit('order/GET_ORDERLIST_FAILURE', err)
|
|
commit('order/GET_ORDERLIST_FAILURE', err)
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|