diff --git a/cocos/core/splash-screen.ts b/cocos/core/splash-screen.ts index e68c6cfc40..5d3b5db310 100644 --- a/cocos/core/splash-screen.ts +++ b/cocos/core/splash-screen.ts @@ -119,11 +119,7 @@ export class SplashScreen { if (window._CCSettings && window._CCSettings.splashScreen) { const setting: Writable = this.setting = window._CCSettings.splashScreen; setting.totalTime = this.setting.totalTime != null ? this.setting.totalTime : 3000; - if (JSB) { - setting.base64src = ''; - } else { - setting.base64src = this.setting.base64src || ''; - } + setting.base64src = this.setting.base64src || ''; setting.effect = this.setting.effect || 'FADE-INOUT'; setting.clearColor = this.setting.clearColor || new Color(0.88, 0.88, 0.88, 1); setting.displayRatio = this.setting.displayRatio != null ? this.setting.displayRatio : 0.4;