意见反馈跳转调试

This commit is contained in:
谢思 2021-11-17 15:06:55 +08:00
parent fc8a476aa3
commit 48e9ca6706
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ function SiderBar() {
{/* 平台反馈 */}
<Tooltip title="意见反馈" placement={"left"} overlayClassName="tooltipBox">
<div className="consult">
<a href={login ? `/${login}/Gitlink/issues/new?type=feedback`:`/login?go_page=/Gitlink/issues/new`}>
<a href={login ? `/test-3/Gitlink/issues/new?type=feedback`:`/login?go_page=/test-3/Gitlink/issues/new?type=feedback`}>
<i className="iconfont icon-yijianfankui2"></i>
</a>
</div>

View File

@ -38,7 +38,7 @@ function Login(props){
const searchParams = new URLSearchParams(search.substring(1));
const goPage = searchParams.get("go_page");
//
goPage && (window.location.href = `/${response.data.login}${goPage}?type=feedback`);
goPage && (window.location.href = goPage);
return;
}
window.location.href = "/"+response.data.login;