This commit is contained in:
2021-09-27 10:01:12 +08:00
commit 52d90d7aea
307 changed files with 22220 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<script>
export default {
name: 'AuthRedirect',
created() {
const hash = window.location.search.slice(1)
if (window.localStorage) {
window.localStorage.setItem('x-admin-oauth-code', hash)
window.close()
}
},
render: function(h) {
return h() // avoid warning message
}
}
</script>