const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  introduction: state => state.user.introduction,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  bookName: state => state.user.bookName,
  deptName:  state => state.user.deptName,
  nickName: state => state.user.nickName,
  userId: state => state.user.userId,
  baseRoutingUrl: state => state.user.baseRoutingUrl,
  businessLevel: state => state.user.businessLevel,
}
export default getters
