Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/taro-components/types/Button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@ interface ButtonProps extends StandardProps {
* @supported tt
*/
onJoinGroup?: CommonEventFunction<{ errMsg: string; errNo: number }>
/** 多端框架新增组件 本机号码一键登录
* 一键登录回调,open-type=phoneOneClickLogin 时有效
* @supported weapp
*/
onPhoneOneClickLogin?: CommonEventFunction
}
declare namespace ButtonProps {
/** size 的合法值 */
Expand Down
3 changes: 2 additions & 1 deletion packages/taro-platform-weapp/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export const components = {
bindError: _empty,
bindOpenSetting: _empty,
bindLaunchApp: _empty,
bindAgreePrivacyAuthorization: _empty
bindAgreePrivacyAuthorization: _empty,
bindPhoneoneClickLogin: _empty,
},
Form: {
'report-submit-timeout': _zero
Expand Down