Browse Source

检测更新

devlop
mo-bai 4 years ago
parent
commit
74c6370351
1 changed files with 3 additions and 0 deletions
  1. 3
      App.vue

3
App.vue

@ -21,6 +21,9 @@ export default {
// app
//#ifdef APP-PLUS
checkUpdate().then((version) => {
if (!version) {
return
}
let curVersion = plus.runtime.version
if (!version) {
version = curVersion

Loading…
Cancel
Save