We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
百度小程序
小程序基础库: 3.430.5 使用框架: React
<Button className='swan-btn-login' openType="login" onLogin={this.onSwanLogin} > <Text>授权登录</Text> </Button>
onSwanLogin被调用
授权成功并无反应,
Taro CLI 3.3.17 environment info: System: OS: macOS 11.6.4 Shell: 5.8 - /bin/zsh Binaries: Node: 12.21.0 - ~/.nvm/versions/node/v12.21.0/bin/node npm: 6.14.11 - ~/.nvm/versions/node/v12.21.0/bin/npm npmPackages: @tarojs/cli: 3.3.17 => 3.3.17 "@tarojs/components": "3.3.17" @tarojs/mini-runner: 3.3.17 => 3.3.17 @tarojs/runtime: 3.3.17 => 3.3.17 @tarojs/taro: 3.3.17 => 3.3.17 @tarojs/webpack-runner:3.3.17 => 3.3.17 babel-preset-taro:3.3.17 => 3.3.17 eslint-config-taro: 33.3.17 => 3.3.17
疑是onLogin没正确编译成bindlogin
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
感谢反馈,3.4.8 修复
3.4.8
fix(swan): 修复 Button 组件不支持 onLogin 事件的问题,fix #11546
dfd93bc
Successfully merging a pull request may close this issue.
相关平台
百度小程序
小程序基础库: 3.430.5
使用框架: React
复现步骤
期望结果
onSwanLogin被调用
实际结果
授权成功并无反应,
环境信息
补充信息
疑是onLogin没正确编译成bindlogin
The text was updated successfully, but these errors were encountered: