diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue index 129dd4d..8080cfe 100644 --- a/src/views/Login/components/LoginForm.vue +++ b/src/views/Login/components/LoginForm.vue @@ -206,7 +206,7 @@ const handleLogin = async (params) => { authUtil.removeLoginForm() } authUtil.setToken(res) - + if (!redirect.value) { redirect.value = '/' } @@ -217,7 +217,7 @@ const handleLogin = async (params) => { const queryParams = new URLSearchParams(window.location.search); const ticketUrl = queryParams.get('url'); // 获取查询参数值,例如 ?paramName=value 中的 value const accessToken =authUtil.getAccessToken(); - + console.log(accessToken); if(ticketUrl!=null){