Commit 51ba0990 authored by 沈翠玲's avatar 沈翠玲

'update'

parent effd75a4
......@@ -8,16 +8,16 @@ export default {
// plus.screen.lockOrientation("landscape-primary");
// 锁定竖屏
plus.screen.lockOrientation("portrait-primary");
const fn = () => {
checkappupdate.check({
title: '检测到有新版本!',
content: '请升级app到最新版本!',
canceltext: '暂不升级',
oktext: '立即升级'
})
return fn // 函数中返回自身
}
setInterval(fn(), 3600 * 1000)
// const fn = () => {
// checkappupdate.check({
// title: '检测到有新版本!',
// content: '请升级app到最新版本!',
// canceltext: '暂不升级',
// oktext: '立即升级'
// })
// return fn // 函数中返回自身
// }
// setInterval(fn(), 3600 * 1000)
// #endif
},
onShow: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment