Browse Source

检测更新

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

3
App.vue

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

Loading…
Cancel
Save