Authored by 陈峰

commit

... ... @@ -21,4 +21,13 @@ export default {
[Types.POST_NOSALE_SUCCESS](state) {
state.fetchingNoSale = false;
},
[Types.POST_CHANGEPRICE_REQUEST](state) {
state.fetchingNoSale = true;
},
[Types.POST_CHANGEPRICE_FAILD](state) {
state.fetchingNoSale = false;
},
[Types.POST_NOSALE_SUCCESS](state) {
state.fetchingNoSale = false;
},
};
... ...
... ... @@ -18,7 +18,7 @@ export default function() {
pageVisible: false,
touchStatus: '',
scrollTime: 0,
direction: 'forword'
direction: 'forword',
},
mutations: {
[Types.SET_ENV]() {
... ...
export default err => {
}
\ No newline at end of file
... ...
... ... @@ -56,7 +56,6 @@ const handlerError = (err = {}, req, res, next) => {
} else if (err.code === 500) {
return res.redirect('/error/500');
}
console.log(err)
return next(err);
};
... ...