根据网上教程,自定义的Storyboard启动图文件,显示倒是可以显示,但每次都会先出现短暂黑屏之后(大概1-2秒左右),才显示正确启动图,我的app.vue页面在onLaunch中是通过下面代码进行了一次判断:
const targetPath = token ? '/pages/home/index' : '/pages/login/index';
uni.reLaunch({
url: targetPath,
complete() {
setTimeout(() => {
plus.navigator.closeSplashscreen();
}, 800)
}
})
这个问题还是很影响用户体验的,需要如何排查这个问题,并解决呢?问题视频复现已贴在附件中,请下载到本地查看