解决由二级子页面回到wiki主页锚点失效问题

This commit is contained in:
谢思 2023-04-06 09:52:52 +08:00
parent af45176bce
commit ebb26844e9
1 changed files with 2 additions and 1 deletions

View File

@ -126,7 +126,8 @@ export default Form.create()(({ form, history, showNotification, projectDetail,
}
function goBack() {
history.push(`/${owner}/${projectsId}/wiki`);
// history.push(`/${owner}/${projectsId}/wiki`);
window.location.href = `/${owner}/${projectsId}/wiki`;
}
function changeModal(e) {