fix(core): 修复在线版主页面不在根目录时从板卡页面返回主页面异常
This commit is contained in:
@@ -661,7 +661,7 @@ class App extends Component {
|
|||||||
if (goog.isElectron) {
|
if (goog.isElectron) {
|
||||||
Loader.onbeforeunload();
|
Loader.onbeforeunload();
|
||||||
} else {
|
} 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);
|
window.location.replace(href);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user