Commit 98f0de61 authored by 李苏's avatar 李苏 💬

升级检查是否是手动设置的url

parent a3ffed86
......@@ -268,8 +268,21 @@
})
}
//#ifdef APP-PLUS
const updater = new AppUpdater(this);
uni.getStorageInfo({
success: (res)=>{
if(uni.getStorageSync('storage_key')){
const baseUrl=uni.getStorageSync('storage_key');
const updater = new AppUpdater(this,baseUrl);
updater.checkUpdate();
}
},
fail:(res)=>{
const updater = new AppUpdater(this,false);
updater.checkUpdate();
}
})
//#endif
//#ifdef H5
this.$tip.success('登录成功!')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment