|
|
@@ -375,7 +375,7 @@ export default { |
|
|
|
location.href=`${AppSubUrl}/authentication/wechat/bind` |
|
|
|
} |
|
|
|
if(err.response.status===401){ |
|
|
|
location.href=`${AppSubUrl}/user/login?redirect_to=${location.origin}${location.pathname}?type=login` |
|
|
|
location.href=`${AppSubUrl}/user/login?redirect_to=${encodeURIComponent(location.origin+location.pathname + '?type=login&card='+ this.selectIndex)}` |
|
|
|
return |
|
|
|
} |
|
|
|
this.btnStatus[index]=0 |
|
|
@@ -445,6 +445,7 @@ export default { |
|
|
|
if(new URLSearchParams(window.location.search).get("type")==='login'){ |
|
|
|
that.getNotebookInfo() |
|
|
|
that.dialogVisible = true; |
|
|
|
that.selectIndex = Number(new URLSearchParams(window.location.search).get("card")) |
|
|
|
} |
|
|
|
document |
|
|
|
.querySelector("#notebook-debug") |
|
|
|