let _that = this;
document.addEventListener("plusready", function () {
plus.runtime.getProperty(plus.runtime.appid, function (wgtinfo) {
console.log(wgtinfo.version);
_that.myVersion = wgtinfo.version;
_that.checkupdate()//调用检查版本号的函数
});
});
checkupdate(){
axios({
url: "",
method: "",
})
.then((res) => {
if (res.data.status === 200) {
if(把获取的版本号与当前手机app判断){
this.tipsShow = true //弹窗显示
}
}
});
},