uniapp开发app获取版本号
plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
console.log(wgtinfo)
wgtinfo.version; //1.1.6
wgtinfo.versionCode; //116
}
plus.runtime.getProperty(plus.runtime.appid, (wgtinfo) => {
console.log(wgtinfo)
wgtinfo.version; //1.1.6
wgtinfo.versionCode; //116
}