提交 | 用户 | 时间
|
0ca254
|
1 |
const getters = { |
A |
2 |
sidebar: state => state.app.sidebar, |
|
3 |
size: state => state.app.size, |
|
4 |
device: state => state.app.device, |
|
5 |
dict: state => state.dict.dict, |
|
6 |
visitedViews: state => state.tagsView.visitedViews, |
|
7 |
cachedViews: state => state.tagsView.cachedViews, |
|
8 |
token: state => state.user.token, |
|
9 |
avatar: state => state.user.avatar, |
|
10 |
name: state => state.user.name, |
|
11 |
introduction: state => state.user.introduction, |
|
12 |
roles: state => state.user.roles, |
|
13 |
permissions: state => state.user.permissions, |
|
14 |
permission_routes: state => state.permission.routes, |
|
15 |
topbarRouters:state => state.permission.topbarRouters, |
|
16 |
defaultRoutes:state => state.permission.defaultRoutes, |
|
17 |
sidebarRouters:state => state.permission.sidebarRouters, |
|
18 |
} |
|
19 |
export default getters |