马宇豪
2023-04-10 df5d10124f0cdaa2710a8bc460413388dd50c199
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>