升级修改只允许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

@@ -376,8 +376,8 @@
//请求后台接口 解析数据 对比版本
that.$Request.getT('/app/user/selectNewApp').then(res => {
res = res.data[0];
if (widgetInfo.version < res.version) {
if (widgetInfo.version < res.version && uni.getSystemInfoSync().platform == 'android') {
let downloadLink = '';
let androidLink = res.androidWgtUrl;
let iosLink = res.iosWgtUrl;

View File

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