From a1cf719d268a9d16db81ece94e75037c844f898f Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 18 二月 2020 14:47:23 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue --- ruoyi-ui/src/views/login/auth-redirect.vue | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ruoyi-ui/src/views/login/auth-redirect.vue b/ruoyi-ui/src/views/login/auth-redirect.vue index de7bbf3..7df8934 100644 --- a/ruoyi-ui/src/views/login/auth-redirect.vue +++ b/ruoyi-ui/src/views/login/auth-redirect.vue @@ -1,15 +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> +<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> -- Gitblit v1.9.3