zhoucong
2022-06-15 7e63e7eb40a561330db94f2659ef1be391aa8285
1
2
3
4
5
6
7
8
9
10
<script>
export default {
  name: 'AuthRedirect',
  created() {
    const hash = window.location.search.slice(1)
    window.opener.location.href = window.location.origin + '/login#' + hash
    window.close()
  }
}
</script>