获取uniapp版本号

plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
console.log(wgtinfo);
console.log(wgtinfo.version);   //版本号
})

需要真机测试

posted @ 2019-09-28 11:42  wpTing  阅读(6028)  评论(0编辑  收藏  举报