'修改来单通知提醒'

This commit is contained in:
wtq
2026-04-20 11:08:46 +08:00
parent eb17b6ca95
commit 140bfe388e
5 changed files with 31 additions and 29 deletions

View File

@@ -30,17 +30,17 @@ onLaunch(() => {
appKeepAlive() // 应用保活
listenMsg() // 监听消息穿透
uni['globalAlert'] = globalAlert // 挂载全局可覆盖tabar弹窗
plus.device.setWakelock(true) //打开程序后一直保持唤醒状态(常亮)
// watchVersion((isUpdate: boolean) => {
// // 检查是否更新版本
// if (isUpdate) {
// uni.globalAlert({
// data: {
// type: 3,
// },
// })
// }
// })
plus.device.setWakelock(true) // 打开程序后一直保持唤醒状态(常亮)
watchVersion((isUpdate: boolean) => {
// 检查是否更新版本
if (isUpdate) {
uni.globalAlert({
data: {
type: 3,
},
})
}
})
// 初始化平台
if (!getStorage('terrace')) setStorage('terrace', 'jxcs')