perf(tagsView):split to single modules

This commit is contained in:
Pan
2017-12-08 16:17:40 +08:00
parent b7939165d1
commit ca75f7bcbc
7 changed files with 59 additions and 46 deletions

View File

@@ -1,8 +1,8 @@
const getters = {
sidebar: state => state.app.sidebar,
language: state => state.app.language,
visitedViews: state => state.app.visitedViews,
cachedViews: state => state.app.cachedViews,
visitedViews: state => state.tagsView.visitedViews,
cachedViews: state => state.tagsView.cachedViews,
token: state => state.user.token,
avatar: state => state.user.avatar,
name: state => state.user.name,