Browse Source

fix issue

pull/3418/head
zhoupzh 2 years ago
parent
commit
4a07e0b7d0
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      web_src/vuepages/pages/notebook/debug/index.vue

+ 4
- 1
web_src/vuepages/pages/notebook/debug/index.vue View File

@@ -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 () {


Loading…
Cancel
Save