forked from Gitlink/forgeplus-react
意见反馈跳转调试
This commit is contained in:
parent
fc8a476aa3
commit
48e9ca6706
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue