const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  user: state => state.user.user,
  name: state => state.user.name,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  delayTime: state => 3000, // 延迟弹窗关闭时间
  location: (state) => state.map.location,
}
export default getters
