const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  supplierName: state => state.user.supplierName,
  name: state => state.user.name,
  loginName: state => state.user.loginName,
  user: state => state.user.user,
  userId: state => state.user.userId,
  roles: state => state.user.roles,
  permission_routes: state => state.permission.routes
}
export default getters
