admin
2024-08-28 c2e92c3bd4fc134b27ba6a6271f63b032b2b9d99
提交 | 用户 | 时间
e57a89 1 const getters = {
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