提交 79531517 编写于 作者: fxy060608's avatar fxy060608

fix(v3): alwaysShowBeforeRender compatible with nvue

上级 e189cce5
......@@ -110,6 +110,13 @@ export function registerPage ({
// 首页是 nvue 时,在 registerPage 时,执行路由堆栈
if (webview.id === '1' && webview.nvue) {
if (
__uniConfig.splashscreen &&
__uniConfig.splashscreen.autoclose &&
!__uniConfig.splashscreen.alwaysShowBeforeRender
) {
plus.navigator.closeSplashscreen()
}
__uniConfig.onReady(function () {
navigateFinish(webview)
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册