升级修改只允许android升级

This commit is contained in:
GaoHao
2024-12-27 17:58:44 +08:00
parent da80801e8c
commit f3615bfbb8
2 changed files with 4 additions and 4 deletions

View File

@@ -377,7 +377,7 @@
that.$Request.getT('/app/user/selectNewApp').then(res => { that.$Request.getT('/app/user/selectNewApp').then(res => {
res = res.data[0]; res = res.data[0];
if (widgetInfo.version < res.version) { if (widgetInfo.version < res.version && uni.getSystemInfoSync().platform == 'android') {
let downloadLink = ''; let downloadLink = '';
let androidLink = res.androidWgtUrl; let androidLink = res.androidWgtUrl;
let iosLink = res.iosWgtUrl; let iosLink = res.iosWgtUrl;

View File

@@ -2,8 +2,8 @@
"name" : "斯耀短剧", "name" : "斯耀短剧",
"appid" : "__UNI__E0B05B1", "appid" : "__UNI__E0B05B1",
"description" : "", "description" : "",
"versionName" : "1.1.0", "versionName" : "1.1.1",
"versionCode" : 110, "versionCode" : 111,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {