const getters = {
  sidebar: state => state.app.sidebar, // 侧边栏
  device: state => state.app.device, // 设备
  kaptcha: state => state.app.kaptcha, // 验证码
  publicKey: state => state.app.publicKey, // 公钥
  token: state => state.user.token, // token
  name: state => state.user.name, // 姓名
  roleList: state => state.user.roleList, // 角色列表
  roleNames: state => state.user.roleNames, // 角色名称列表
  roleTips: state => state.user.roleTips, // 角色名称列表
  deptId: state => state.user.deptId, // 权属单位
  deptName: state => state.user.deptName, // 权属单位名称
  menus: state => state.permission.menus, // 菜单
  permission_routers: state => state.permission.routers, // 用户有权限的路由
  addRouters: state => state.permission.addRouters, // 添加的路由
  btns: state => state.permission.btns, // 用户所有的按钮权限
  wellTypes: state => state.user.wellTypes, // 用户支持的闸井类型
  deviceTypes: state => state.user.deviceTypes, // 用户支持的设备类型
  communications: state => state.user.communications, // 用户支持的通讯方式
  area: state => state.user.area // 用户所在区域
}
export default getters
