const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  dept: state => state.user.dept,
  dept_name: state => state.user.dept_name,
  name: state => state.user.name,
  perms: state => state.user.perms,
  permission_routes: state => state.permission.routes
}
export default getters
