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,
  avatar: state => state.user.avatar,
  id: state => state.user.id,
  name: state => state.user.name,
  nickName: state => state.user.nickName,
  user: state => state.user,
  userDept: state => state.user.userDept,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  permission_routes: state => state.permission.routes,
  topbarRouters: state => state.permission.topbarRouters,
  defaultRoutes: state => state.permission.defaultRoutes,
  sidebarRouters: state => state.permission.sidebarRouters,

  systemConfigList: state => state.user.systemConfigList, //获取登录页标题
  loginSystemName: state => state.user.loginSystemName, //系统名称
  browserName: state => state.user.browserName, //浏览器页签名称
  technicalSupport: state => state.user.technicalSupport, //技术支持
  globalLogo: state => state.user.globalLogo,  //全局logo

}
export default getters
