Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ximai
mes-pda-scan
Commits
51ba0990
Commit
51ba0990
authored
Dec 19, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'update'
parent
effd75a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
App.vue
App.vue
+10
-10
No files found.
App.vue
View file @
51ba0990
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment