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 // app
//#ifdef APP-PLUS //#ifdef APP-PLUS
checkUpdate().then((version) => { checkUpdate().then((version) => {
if (!version) {
return
}
let curVersion = plus.runtime.version let curVersion = plus.runtime.version
if (!version) { if (!version) {
version = curVersion version = curVersion

Loading…
Cancel
Save