当前位置:首页 > 移动开发 > 正文

获取uniapp版本号

2024-03-31 移动开发

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

需要真机测试

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/yidong/18738.html