'修改饿了么名称'

This commit is contained in:
wtq
2025-12-15 10:46:39 +08:00
parent 09b59aa8c2
commit cba285c943
39 changed files with 195 additions and 627 deletions

View File

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