diff --git a/web_src/vuepages/pages/notebook/debug/index.vue b/web_src/vuepages/pages/notebook/debug/index.vue index 55afb57fa..388c2608d 100644 --- a/web_src/vuepages/pages/notebook/debug/index.vue +++ b/web_src/vuepages/pages/notebook/debug/index.vue @@ -344,7 +344,7 @@ export default { location.href=`${AppSubUrl}/authentication/wechat/bind` } if(err.response.status===401){ - location.href=`${AppSubUrl}/user/login` + location.href=`${AppSubUrl}/user/login?redirect_to=${location.href}?type=login` return } this.btnStatus[index]=0 @@ -411,6 +411,9 @@ export default { this.fileInfo.project_name = selfData.getAttribute('data-project') this.fileInfo.sign_name = selfData.getAttribute('data-name') let that = this; + if(new URLSearchParams(window.location.search).get("type")==='login'){ + that.dialogVisible = true; + } document .querySelector("#notebook-debug") .addEventListener("click", function () {