From 4a07e0b7d08a7a4a1ef2adbb7b41a8d75de46c30 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 15 Dec 2022 17:11:17 +0800 Subject: [PATCH] fix issue --- web_src/vuepages/pages/notebook/debug/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 () {