const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  unitName: state => state.user.unitName,
  orgName: state => state.user.orgName,
  permission_routes: state => state.permission.routes
}
export default getters
