authredirect.vue 240 B

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