const getters = {
  sidebar: (state:any) => state.app.sidebar,
  size: (state:any) => state.app.size,
  device: (state:any) => state.app.device,
  visitedViews: (state:any) => state.tagsView.visitedViews,
  cachedViews: (state:any) => state.tagsView.cachedViews,
  token: (state:any) => state.user.token,
  avatar: (state:any) => state.user.avatar,
  name: (state:any) => state.user.name,
  userInfo:(state:any) => state.user.userInfo,
  introduction: (state:any) => state.user.introduction,
  roles: (state:any) => state.user.roles,
  permissions: (state:any) => state.user.permissions,
  permission_routes: (state:any) => state.permission.routes,
  topbarRouters:(state:any) => state.permission.topbarRouters,
  defaultRoutes:(state:any) => state.permission.defaultRoutes,
  sidebarRouters:(state:any) => state.permission.sidebarRouters,
  ssoToken: (state:any) => state.user.ssoToken
}
export default getters
