Authored by yyq

fix nice list

... ... @@ -349,7 +349,7 @@ export default {
result.data.detailList = [];
}
commit(Types.FETCH_NICE_GOODS_SUCCESS, {
data: result.data.detailList,
data: result.data,
page,
thumb
});
... ...
... ... @@ -385,7 +385,7 @@ export default {
[Types.FETCH_NICE_GOODS_SUCCESS](state, {data, thumb}) {
state.fetchArticleNiceList = false;
state.articleLastedTimeByNice = data.lastedTime;
setArticleList(state, data, 'niceGoods', thumb);
setArticleList(state, data.detailList || [], 'niceGoods', thumb);
},
[Types.FETCH_NICE_GOODS_FAILD](state) {
state.fetchArticleNiceList = false;
... ...