版本更新
This commit is contained in:
8
App.vue
8
App.vue
@@ -3,13 +3,13 @@
|
||||
|
||||
export default {
|
||||
onLaunch: function() {
|
||||
// return
|
||||
//#ifdef APP-PLUS
|
||||
// 获取系统版本号
|
||||
getVersions({
|
||||
getVersions({
|
||||
platform: plus.os.name,
|
||||
version: plus.runtime.version
|
||||
}).then(res => {
|
||||
version : plus.runtime.version
|
||||
}).then(res => {
|
||||
console.log(res)
|
||||
if (res.update) {
|
||||
uni.showModal({
|
||||
title: "更新提示",
|
||||
|
||||
Reference in New Issue
Block a user