j***@163.com
j***@163.com
  • 发布:2021-05-27 10:23
  • 更新:2021-05-27 10:23
  • 阅读:370

APP版本获取

分类:HTML5+

mui.plusReady(function(){
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
currVertion = inf.version;
console.log("当前应用版本:plus.runtime.getProperty>>info.version>>>"+inf.version+"---plus.runtime.version>>>"+plus.runtime.version);
}})

plus.runtime.getProperty>>info.version 最新版本号,manifest配置的版本号
plus.runtime.version 》》 运行基座的版本号

1 关注 分享
Kytrun

要回复文章请先登录注册