疯狂的狮子li
2020-03-02 bed1fd98ff8a5b083338a1b74a3face378bdbdeb
ruoyi-ui/src/views/login/auth-redirect.vue
@@ -1,15 +0,0 @@
<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>