uniapp的Android启动页停留时间设置 默认自动
在APP.vue里,在uniapp生命周期的onLaunch这个方法里写个延时器
onLaunch: function () { //#ifdef APP-PLUS setTimeout(() => { plus.navigator.closeSplashscreen(); }, 2000); // #endif console.log("App Launch"); uni.clearStorageSync(); }
在manifest.json里,autoclose要设置为false (可点击源码视图查看)
"splashscreen" : { "alwaysShowBeforeRender" : false, "waiting" : true, "autoclose" : false },


浙公网安备 33010602011771号