const getters = {
  sidebar: state => state.app.sidebar, // 侧边栏
  device: state => state.app.device, // 设备
  kaptcha: state => state.app.kaptcha, // 验证码
  publicKey: state => state.app.publicKey, // 公钥
  sid: state => state.app.sid, // 用户标识
  currentSystem: state => state.app.currentSystem, // 用户标识
  changeFlag: state => state.app.changeFlag, // 切换子系统标志
  token: state => state.user.token, // token
  id: state => state.user.id, // id
  account: state => state.user.account, // 账户
  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, // 权属单位名称s
  area: state => state.user.area, // 用户所在区域
  lng: state => state.user.lng, // 纬度
  lat: state => state.user.lat, // 经度
}
export default getters
