|
|
@ -23,6 +23,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 != curVersion) { |
|
|
if (version != curVersion) { |
|
|
let client = uni.getSystemInfoSync().platform |
|
|
let client = uni.getSystemInfoSync().platform |
|
|
|