index.js
926 Bytes
import actions from './actions';
import mutations from './mutations';
export default function() {
return {
namespaced: true,
state: {
fetchArticleList: false,
articleList: [],
articleThumbList: [],
fetchArticleListByTopic: false,
articleListByTopic: [],
fetchArticleUserList: false,
articleUserList: [],
articleUserThumbList: [],
fetchArticleDetail: false,
articleDetail: {},
articleProductList: [],
articleLastedTimeByTopic: 0,
articleStates: {},
authorStates: {},
fetchTopicInfo: false,
topicInfo: {},
fetchTopicArticles: false,
articleSingleDetail: {},
fetchArticleSingleDetail: false,
fetchDetailRecommendArticles: false,
articleNiceList: [],
articleNiceThumbList: [],
articleLastedTimeByNice: 0,
fetchArticleNiceList: false,
},
actions,
mutations
};
}