优化启动页

This commit is contained in:
zhouyanli
2026-08-17 15:31:17 +08:00
parent 9d5310e4a7
commit cb885dc1f2
8 changed files with 88 additions and 24 deletions

View File

@@ -18,6 +18,11 @@ onLaunch(() => {
setTimeout(() => {
getPushCID()
}, 2000)
// 安全兜底:正常由首页/引导页 onReady 关闭启动屏;若异常未关闭,5 秒后强制关闭,避免卡在启动屏
setTimeout(() => {
plus.navigator.closeSplashscreen()
}, 5000)
// #endif
})