From dc07600aef12e3ebfae9275e83bcf898a84dee3c Mon Sep 17 00:00:00 2001 From: mumuca Date: Wed, 6 Apr 2022 13:21:24 +0000 Subject: [PATCH 1/3] update docs/api/plugins/login.md. --- docs/api/plugins/login.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/plugins/login.md b/docs/api/plugins/login.md index db3b50850..2f07a2688 100644 --- a/docs/api/plugins/login.md +++ b/docs/api/plugins/login.md @@ -194,6 +194,7 @@ uni.login({ |x|x|√(基础库2.10.4)|x|x|x|x|x|x| **注意:** 该API仅支持微信小程序端,微信小程序调整了相关接口(详见[《小程序登录、用户信息相关接口调整说明》](https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801?highLine=getUserProfile%253Afail))。每次触发 uni.getUserProfile 均会弹出授权窗口,用户授权后可成功获取用户信息。该API暂不支持在事件中使用异步操作,否则会触发错误:{errMsg: "getUserProfile:fail can only be invoked by user TAP gesture."} +抖音从基础库 2.30.0 开始支持本方法,低版本需做兼容处理(详见:https://microapp.bytedance.com/docs/zh-CN/mini-app/develop/api/open-interface/user-information/tt-get-user-profile/). **OBJECT 参数说明** -- Gitee From 8b5218ec2c75f2b58447e4ec0bc2fd16bf2df67b Mon Sep 17 00:00:00 2001 From: rewalax Date: Wed, 6 Apr 2022 14:37:31 +0000 Subject: [PATCH 2/3] =?UTF-8?q?update=20docs/tutorial/vue3-basics.md.=20?= =?UTF-8?q?=E2=80=9C=E5=87=BD=E6=95=B0=E2=80=9D=EF=BC=8C=E5=B0=91=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/vue3-basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/vue3-basics.md b/docs/tutorial/vue3-basics.md index 4136e7269..5f2f12b08 100644 --- a/docs/tutorial/vue3-basics.md +++ b/docs/tutorial/vue3-basics.md @@ -1484,7 +1484,7 @@ v-for 指令可以实现基于一个数组来渲染一个列表。 ### 计算属性computed -每一个计算属性都包含一个 `getter` 函数和一个 `setter`函数 ,默认是利用 `getter` 函数来读取。所有 `getter` 和 `setter` 函的 `this` 上下文自动地绑定为 Vue 实例。 +每一个计算属性都包含一个 `getter` 函数和一个 `setter`函数 ,默认是利用 `getter` 函数来读取。所有 `getter` 和 `setter` 函数的 `this` 上下文自动地绑定为 Vue 实例。 #### 计算属性的 getter -- Gitee From 51c64ef786a35969509467d817d74ad3b2b01214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=BE=81?= <5522733+appdevservice@user.noreply.gitee.com> Date: Thu, 7 Apr 2022 06:36:05 +0000 Subject: [PATCH 3/3] =?UTF-8?q?update=20docs/api/window/communication.md.?= =?UTF-8?q?=20=E7=BB=8F=E8=BF=87=E5=AE=9E=E9=AA=8C=E5=8F=91=E7=8E=B0=20uni?= =?UTF-8?q?.$on=20=E5=BF=85=E9=A1=BB=E5=9C=A8=E5=AE=9A=E4=B9=89=E4=BB=A5?= =?UTF-8?q?=E5=90=8E=E6=89=8D=E8=83=BD=E6=8E=A5=E6=94=B6=E5=88=B0=20uni.$e?= =?UTF-8?q?mit=20=E4=BC=A0=E9=80=92=E7=9A=84=E6=95=B0=E6=8D=AE=EF=BC=8C?= =?UTF-8?q?=E8=80=8C=E5=AE=98=E7=BD=91=E5=B9=B6=E6=B2=A1=E6=9C=89=E6=8F=90?= =?UTF-8?q?=E5=8F=8A=E5=88=B0=E4=B8=A4=E8=80=85=E7=9A=84=E5=85=88=E5=90=8E?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E9=97=AE=E9=A2=98=E3=80=82=E5=88=9D=E5=AD=A6?= =?UTF-8?q?=E8=80=85=E5=8F=AF=E8=83=BD=E4=BC=9A=E5=9B=A0=E4=B8=BA=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E6=90=9E=E9=94=99=E8=80=8C=E8=BE=BE=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E5=AE=9E=E9=AA=8C=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/window/communication.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/window/communication.md b/docs/api/window/communication.md index f0c4bf336..0758f8101 100644 --- a/docs/api/window/communication.md +++ b/docs/api/window/communication.md @@ -131,3 +131,4 @@ **注意事项** - uni.$emit、 uni.$on 、 uni.$once 、uni.$off 触发的事件都是 App 全局级别的,跨任意组件,页面,nvue,vue 等 - 使用时,注意及时销毁事件监听,比如,页面 onLoad 里边 uni.$on 注册监听,onUnload 里边 uni.$off 移除,或者一次性的事件,直接使用 uni.$once 监听 +- 注意 uni.$on 定义完成后才能接收到 uni.$emit 传递的数据 -- Gitee