升级修改只允许android升级
This commit is contained in:
4
App.vue
4
App.vue
@@ -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;
|
||||
|
||||
@@ -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" : {
|
||||
|
||||
Reference in New Issue
Block a user