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

fix(app): splashscreen

上级 88b57111
...@@ -38,7 +38,7 @@ export function initSplashscreen( ...@@ -38,7 +38,7 @@ export function initSplashscreen(
} }
export function getSplashscreen(manifestJson: Record<string, any>) { export function getSplashscreen(manifestJson: Record<string, any>) {
const splashscreenOptions = manifestJson['app-plus']?.splashscreen const splashscreenOptions = manifestJson['app-plus']?.splashscreen || {}
return { return {
autoclose: splashscreenOptions.autoclose !== false, autoclose: splashscreenOptions.autoclose !== false,
alwaysShowBeforeRender: alwaysShowBeforeRender:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册