diff --git a/App.vue b/App.vue index b05199d1d8ff4c8ff45b7b1468cd9f3c90ab9948..9967daa3a0adf48e6c5e25c0153247178c99f8fe 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 3919f660b7b797b0cd6275a4050014688f781139..e87aa746bf63f83e270bdeac65ff5b99a43bac0e 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 5b8e551a53d6274133690c09baf0d59505686ff7..6fbbbb44df95b8d3fb630083bacaf694718e432d 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 71d1a062b8d5d7578db241def30bda5f35a38a5d..d2cfc95464446ac0bf30e0e057ab8ea2e4e3b819 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 6ba1c1f107c9f3ae160d9b54765e3af8ae4f9a28..1ee90a3a3fd9abfc56b1d8c57c7b6e6cb6de7c82 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" } //... // 中文(简体)