优化字典数据使用store存取

This commit is contained in:
RuoYi
2022-07-20 19:39:15 +08:00
parent ce82095f04
commit 9f90b4eba7
6 changed files with 86 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ const getters = {
sidebar: state => state.app.sidebar,
size: state => state.app.size,
device: state => state.app.device,
dict: state => state.dict.dict,
visitedViews: state => state.tagsView.visitedViews,
cachedViews: state => state.tagsView.cachedViews,
token: state => state.user.token,