src/layout/components/SocialCallback/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/layout/components/SocialCallback/index.vue
@@ -27,6 +27,9 @@ if (res.code !== 200) { throw new Error(res.msg); } if (res.data !== null) { setToken(res.data.access_token); } ElMessage.success(res.msg); location.href = import.meta.env.VITE_APP_CONTEXT_PATH + 'index'; };