diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue
index 984a9a9468a53c8a5a4e11a9dfc6213c1555ad35..c9fb59063c9af4392b02362946a28fe8c176e20f 100644
--- a/pages/tabBar/component.uvue
+++ b/pages/tabBar/component.uvue
@@ -113,7 +113,19 @@
// #endif
onReady() {
// #ifdef UNI-APP-X && APP
- checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance)
+ uni.getPrivacySetting({
+ success(res) {
+ if (res.needAuthorization) {
+ uni.onPrivacyAuthorizationChange((res) => {
+ if (!res.needAuthorization) {
+ checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance)
+ }
+ })
+ } else {
+ checkUpdate(this.$refs['upgradePopup'] as UniUpgradeCenterAppComponentPublicInstance)
+ }
+ }
+ })
// #endif
},
onShow() {
@@ -132,4 +144,4 @@
.item {
margin-bottom: 12px;
}
-
+
diff --git a/uni_modules/uni-upgrade-center-app/changelog.md b/uni_modules/uni-upgrade-center-app/changelog.md
index 599c637ced02ed00e45da944174423843562d889..2b7e5851a200def2e223c2037d5078c613bec148 100644
--- a/uni_modules/uni-upgrade-center-app/changelog.md
+++ b/uni_modules/uni-upgrade-center-app/changelog.md
@@ -1,3 +1,5 @@
+## 0.8.4(2024-10-26)
+- 修复 uni-app x 项目升级到 4.31 alpha 后中间有空隙的Bug
## 0.8.3(2024-07-31)
- 修复 部分类型报错
## 0.8.2(2024-07-15)
diff --git a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue
index defda4735bd71ce9019321c87eb125cb59a13489..76b1ffe5376603d86e7ac295e4d52e5d4ddf0284 100644
--- a/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue
+++ b/uni_modules/uni-upgrade-center-app/components/uni-upgrade-center-app/uni-upgrade-center-app.uvue
@@ -8,6 +8,8 @@
src="/uni_modules/uni-upgrade-center-app/static/app/bg_top.png">
+
+
{{subTitle}}
@@ -372,6 +374,15 @@
border-bottom-style: solid;
}
+ .content-space {
+ width: 100%;
+ height: 50px;
+ background-color: #fff;
+ position: absolute;
+ top: 140px;
+ z-index: -1;
+ }
+
.content-top-image {
width: 100%;
position: relative;
diff --git a/uni_modules/uni-upgrade-center-app/package.json b/uni_modules/uni-upgrade-center-app/package.json
index 4542246b2223cc29f02632ef89155dc278f684bc..3c912ad8b79f51dc62f06900136aa6c8f9c7fc11 100644
--- a/uni_modules/uni-upgrade-center-app/package.json
+++ b/uni_modules/uni-upgrade-center-app/package.json
@@ -1,7 +1,7 @@
{
"id": "uni-upgrade-center-app",
"displayName": "升级中心 uni-upgrade-center - App",
- "version": "0.8.3",
+ "version": "0.8.4",
"description": "uni升级中心 - 客户端检查更新",
"keywords": [
"uniCloud",
@@ -47,8 +47,10 @@
},
"client": {
"App": {
- "app-vue": "y",
- "app-nvue": "y"
+ "app-vue": "y",
+ "app-nvue": "y",
+ "app-harmony": "u",
+ "app-uvue": "y"
},
"H5-mobile": {
"Safari": "n",