From e36d3962aa0f73ad422ef6b9459bd9a575dd0856 Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Sun, 29 Sep 2024 16:35:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=A3=80=E6=B5=8B=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/peanut/home.vue | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index ca7fbba..0271a7f 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.0.20", - "versionCode" : 1020, + "versionName" : "1.0.21", + "versionCode" : 1021, "app-plus" : { "nvueCompiler" : "weex", "compatible" : { diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index a1dca76..382448e 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -309,6 +309,9 @@ import musicPlay from '@/components/music.vue' import repciptData from '@/static/json/repcipt.json' import $http from '@/config/requestConfig.js'; + // #ifdef APP-PLUS + import updata from "@/uni_modules/uni-upgrade-center-app/utils/check-update"; + // #endif import { mapState, mapMutations @@ -375,7 +378,8 @@ uni.hideTabBar(); // #ifdef APP-PLUS // plus.screen.unlockOrientation(); - plus.screen.lockOrientation("portrait-primary"); + plus.screen.lockOrientation("portrait-primary"); + updata(); // 检查更新 // #endif this.requestAll() this.classList = await this.getClassNoUser()