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