From 83751da4ce765e3f775f8fa5148e0e42529b6c5e Mon Sep 17 00:00:00 2001 From: linju Date: Wed, 19 Oct 2022 15:16:24 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=9B=B4=E6=96=B0=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=EF=BC=9A=E5=86=85uni-push=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E6=8E=A8=E9=80=81=E6=A0=87=E8=AF=86=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 2 ++ package.json | 2 +- uni_modules/uni-id-pages/init.js | 6 +----- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/changelog.md b/changelog.md index 3916007..1c4a8a3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +## 2.0.6(2022-10-19) +- 更新 文件路径:`/uni_modules/uni-id-pages/init.js`内uni-push客户端推送标识获取失败的提示 ## 2.0.5(2022-10-19) - 更新依赖的`uni-id-pages`的版本为1.0.26 ## 2.0.4(2022-09-21) diff --git a/package.json b/package.json index c24eacd..f76771d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "id": "uni-starter", "displayName": "uni-starter", - "version": "2.0.5", + "version": "2.0.6", "description": "云端一体应用快速开发基本项目模版", "keywords": [ "login", diff --git a/uni_modules/uni-id-pages/init.js b/uni_modules/uni-id-pages/init.js index e89b0dc..3b9665e 100644 --- a/uni_modules/uni-id-pages/init.js +++ b/uni_modules/uni-id-pages/init.js @@ -91,11 +91,7 @@ export default async function() { console.log('getPushClientId', res); }, fail(e) { - console.error(e, - "uni-id-pages 默认在刷新token(登录、注销、切换用户)后获取push客户端标识同步至uni-id-device表;", - "\n", - "如果你不使用push模块,请注释或删除,路径:/uni-starter/uni_modules/uni-id-pages/init.js 第79-103行代码" - ) + console.error(e,'更多详情:https://uniapp.dcloud.net.cn/uniCloud/uni-starter.html#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9') } }) } -- GitLab