zhoucong
2022-05-16 a413ea959cfcb7874c6062d3f2bff2816d87116e
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>