fix(core): 修复在线版主页面不在根目录时从板卡页面返回主页面异常

This commit is contained in:
王立帮
2025-05-05 22:06:23 +08:00
parent 4bdaa4e89a
commit aff8b8f21f

View File

@@ -661,7 +661,7 @@ class App extends Component {
if (goog.isElectron) {
Loader.onbeforeunload();
} else {
let href = Env.srcDirPath + 'index.html?' + Url.jsonToUrl({ boardType: BOARD.boardType });
let href = Env.srcDirPath + '/index.html?' + Url.jsonToUrl({ boardType: BOARD.boardType });
window.location.replace(href);
}
}