uniapp-安卓自动更新

update() {
var that = this;

domain.POST(api.appConfig, {}, function(res) {
if (res.code == 200) {
let data = res.data;
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
if (inf.version != data.version) {
uni.showModal({
title: "发现新版本",
content: "确认下载更新",
success: (res) => {
if (res.confirm == true) { //当用户确定更新,执行更新

uniapp-安卓自动更新最先出现在Python成神之路

版权声明:
作者:玉兰
链接:https://www.techfm.club/p/21064.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>