1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| <template>
| <div></div>
| </template>
|
| <script>
| export default {
| name: 'authredirect',
| created () {
| window.close()
| const params = this.$route.query
| const state = params.state
| const code = params.code
| window.opener.location.href = `${window.location.origin}/#/login?state=${state}&code=${code}`
| }
| }
| </script>
|
|
| <style>
| </style>
|
|