马宇豪
2023-02-07 94b04152f691c602e5ccd3f5f07f97ca45888819
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>