diff --git a/docs/component/button.md b/docs/component/button.md index fe4534f1..6190dad9 100644 --- a/docs/component/button.md +++ b/docs/component/button.md @@ -155,7 +155,7 @@ | getUserInfo | 获取用户信息,可以从@getuserinfo 回调中获取到用户信息 | | contact | 打开客服会话,如果用户在会话中点击消息卡片后返回应用,可以从 @contact 回调中获得具体信息 | | getPhoneNumber | 获取用户手机号,可以从@getphonenumber 回调中获取到用户信息 | -| getRealtimePhoneNumber | 获取用户手机号,可以从@getrealtimephonenumber 回调中获取到用户信息 | +| getRealtimePhoneNumber | 实时获取用户手机号,可以从@getrealtimephonenumber 回调中获取到用户信息,仅微信小程序 | | launchApp | 小程序中打开 APP,可以通过 app-parameter 属性设定向 APP 传的参数 | | openSetting | 打开授权设置页 | | chooseAvatar | 获取用户头像,可以从@chooseavatar 回调中获取到头像信息 | @@ -172,7 +172,7 @@ | getuserinfo | 获取用户信息 | `detail` | - | | contact | 客服消息回调,open-type="contact"时有效 | `detail` | - | | getphonenumber | 获取用户手机号回调,open-type=getPhoneNumber 时有效 | `detail` | - | -| getrealtimephonenumber | 实时获取用户手机号回调,open-type=getRealtimePhoneNumber 时有效 | `detail` | - | +| getrealtimephonenumber | 实时获取用户手机号回调,open-type=getRealtimePhoneNumber 时有效 | `detail` | $LOWEST_VERSION$ | | error | 当使用开放能力时,发生错误的回调,open-type=launchApp 时有效 | `detail` | - | | launchapp | 打开 APP 成功的回调,open-type=launchApp 时有效 | `detail` | - | | opensetting | 在打开授权设置页后回调,open-type=openSetting 时有效 | `detail` | - | diff --git a/docs/en-US/component/button.md b/docs/en-US/component/button.md index 46b04dde..be5cb1d7 100644 --- a/docs/en-US/component/button.md +++ b/docs/en-US/component/button.md @@ -157,6 +157,7 @@ WeChat Mini Program open capabilities, see [WeChat Mini Program Button](https:// | getUserInfo | Get user information, which can be obtained from the @getuserinfo callback | | contact | Open customer service session, if the user returns to the application after clicking the message card in the session, specific information can be obtained from the @contact callback | | getPhoneNumber | Get the user's phone number, which can be obtained from the @getphonenumber callback | +| getRealtimePhoneNumber | Get user phone number in real time, user information can be obtained from @getrealtimephonenumber callback, WeChat Mini Program only | | launchApp | Open APP in Mini Program, parameters can be passed to the APP through the app-parameter attribute | | openSetting | Open authorization settings page | | chooseAvatar | Get user avatar, avatar information can be obtained from the @chooseavatar callback | @@ -173,6 +174,7 @@ WeChat Mini Program open capabilities, see [WeChat Mini Program Button](https:// | getuserinfo | Get user information | `detail` | - | | contact | Customer service message callback, valid when open-type="contact" | `detail` | - | | getphonenumber | Get user phone number callback, valid when open-type=getPhoneNumber | `detail` | - | +| getrealtimephonenumber | Get user phone number in real time callback, valid when open-type=getRealtimePhoneNumber | `detail` | - | | error | Error callback when using open capabilities, valid when open-type=launchApp | `detail` | - | | launchapp | Callback for successfully opening APP, valid when open-type=launchApp | `detail` | - | | opensetting | Callback after opening authorization settings page, valid when open-type=openSetting | `detail` | - |