From 87dae8ac03d891a16235156644a329e0440f547a Mon Sep 17 00:00:00 2001 From: linju-json Date: Wed, 10 Nov 2021 16:24:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=AD=E5=8F=AF=E9=80=89?= =?UTF-8?q?=E9=93=BE=E6=93=8D=E4=BD=9C=E7=AC=A6=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?vue3=E7=89=88=E6=9C=AC=E5=9C=A8hbuilderX=E5=86=85=E7=BD=AE?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E4=B8=8D=E5=85=BC=E5=AE=B9=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 +- changelog.md | 2 ++ common/openApp.js | 2 +- package.json | 2 +- uni_modules_tools/copy/manifest.json | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/App.vue b/App.vue index b05199d..9967daa 100644 --- a/App.vue +++ b/App.vue @@ -25,7 +25,7 @@ // #endif // #ifdef H5 - // checkIsAgree(); // 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要 + // checkIsAgree(); // 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要可以自己去掉注视后生效 // #endif // #ifdef APP-PLUS diff --git a/changelog.md b/changelog.md index 3919f66..e87aa74 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 1.1.22(2021-11-10) +删除`common/openApp.js`中可选链操作符,解决vue3版本在hbuilderX内置浏览器不兼容的问题 ## 1.1.21(2021-11-10) 新增app端列表页面使用原生list下拉刷新 ## 1.1.20(2021-11-08) diff --git a/common/openApp.js b/common/openApp.js index 5b8e551..6fbbbb4 100644 --- a/common/openApp.js +++ b/common/openApp.js @@ -5,7 +5,7 @@ import CONFIG from '../uni-starter.config.js'; -const CONFIG_OPEN = CONFIG?.h5?.openApp?.openUrl ? CONFIG.h5.openApp : {}; +const CONFIG_OPEN = CONFIG.h5.openApp || {}; // 仅H5端添加"打开APP" export default function() { // #ifdef H5 diff --git a/package.json b/package.json index 71d1a06..d2cfc95 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "1.1.21", + "version": "1.1.22", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "login", diff --git a/uni_modules_tools/copy/manifest.json b/uni_modules_tools/copy/manifest.json index 6ba1c1f..1ee90a3 100644 --- a/uni_modules_tools/copy/manifest.json +++ b/uni_modules_tools/copy/manifest.json @@ -200,7 +200,7 @@ } }, "_spaceID" : "76ce2c5e-31c7-4d81-8fcf-ed1541ecbc6e", - "vueVersion" : "2" + "vueVersion" : "3" } //... // 中文(简体) -- GitLab