获取uniapp版本号
plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
console.log(wgtinfo);
console.log(wgtinfo.version); //版本号
})
需要真机测试
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/yidong/18738.html
plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
console.log(wgtinfo);
console.log(wgtinfo.version); //版本号
})
需要真机测试
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/yidong/18738.html