提交 59b6993b 作者: 方治民

fix: 修复 isDevMode 判断的错误用法

上级 a7d9d836
......@@ -13,7 +13,7 @@
// FIXED: 开发模式,关闭启动页,防止调试内部页面时无法进入的问题
// #ifdef APP-PLUS
if (isDevMode) {
if (isDevMode()) {
setTimeout(() => {
plus.navigator.closeSplashscreen()
}, 3000)
......@@ -35,7 +35,8 @@
})
onUnhandledRejection((err) => {
Message.toast(`App UnhandledRejection: ${err}`)
// Message.toast(`App UnhandledRejection: ${err}`)
console.error('App UnhandledRejection:', err)
})
</script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论