feat(HEL-76): 手机端丝滑度整改②——换页过渡与启动登录反馈
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -67,9 +67,15 @@
|
||||
} else if (/^#\/?auth/.test(hash)) {
|
||||
global.location.replace("#/hub/market");
|
||||
}
|
||||
removeBootSplash();
|
||||
global.MobileRouter.init();
|
||||
}
|
||||
|
||||
function removeBootSplash() {
|
||||
const splash = document.getElementById("m-boot-splash");
|
||||
if (splash) splash.remove();
|
||||
}
|
||||
|
||||
if (document.readyState === "loading") {
|
||||
document.addEventListener("DOMContentLoaded", boot, { once: true });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user