uniapp 获取版本号
//#ifdef APP-PLUS
console.log('版本',plus.runtime.versionCode)
// this.version=plus.runtime.versionCode
// 获取本地应用资源版本号
plus.runtime.getProperty(plus.runtime.appid, (info) => {
console.log(JSON.stringify(info));
this.version = info.version;
// this.versionCode = info.versionCode ;
})
//#endif

