1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-26 03:26:43 +08:00
vue-element-admin/src/views/login/authredirect.vue

11 lines
224 B
Vue

<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>