完善翻译

This commit is contained in:
lyswhut
2020-03-12 21:12:12 +08:00
parent dd41e00691
commit 3fdff4e6eb
12 changed files with 57 additions and 43 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ sources.forEach(source => {
// getters
const getters = {
sourceInfo: () => ({ sources, sortList }),
sourceInfo(state, getters, rootState, { sourceNames }) {
return { sources: sources.map(item => ({ id: item.id, name: sourceNames[item.id] })), sortList }
},
tags: state => state.tags,
isVisibleListDetail: state => state.isVisibleListDetail,
selectListInfo: state => state.selectListInfo,