优化字典数据使用store存取

This commit is contained in:
RuoYi
2022-07-20 19:38:16 +08:00
parent 1f0e742710
commit 5ec5e1a65d
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,