移动端检测更新安装包
app常常会遇到检测安装包版本并且更新版本的需求,直接上代码: let os = navigator.userAgent; document.addEventListener('plusready', () => { plus.runtime.getProperty(plus.runtime.appid, inf => { let ver = inf.version; if (/iPhone/.test(os)) { this.$http.
原创
2021-01-21 10:16:42 ·
143 阅读 ·
0 评论