Skip to content
New issue

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

百度小程序“login 联合登录 / 手机号授权内嵌组件”,Taro3.x不支持 #10452

Closed
oyvfhp opened this issue Oct 19, 2021 · 4 comments · Fixed by #10493 or #10501
Closed
Labels
F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x
Milestone

Comments

@oyvfhp
Copy link

oyvfhp commented Oct 19, 2021

相关平台

百度小程序

小程序基础库: 3.41.1
使用框架: React

复现步骤

https://smartprogram.baidu.com/docs/develop/component/login/
在Taro2.x下是可以正常使用的,taro3.x直接显示为空白。

Taro2.x环境下:
image

Taro3.x环境下:
image

期望结果

显示百度登陆的相关信息

实际结果

空白

环境信息

  Taro CLI 3.3.10 environment info:
    System:
      OS: macOS 11.6
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.11.1 - /usr/local/bin/node
      Yarn: 1.22.17 - /usr/local/bin/yarn
      npm: 8.0.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/components: 3.3.10 => 3.3.10 
      @tarojs/mini-runner: 3.3.10 => 3.3.10 
      @tarojs/react: 3.3.10 => 3.3.10 
      @tarojs/runtime: 3.3.10 => 3.3.10 
      @tarojs/taro: 3.3.10 => 3.3.10 
      @tarojs/webpack-runner: 3.3.10 => 3.3.10 
      babel-preset-taro: 3.3.10 => 3.3.10 
      eslint-config-taro: 3.3.10 => 3.3.10 
      react: ^17.0.0 => 17.0.2 

补充信息

当前功能属于百度小程序的内嵌组件,主要解决正常的授权模式授权通过率较低,使用当前的内嵌组件登陆方式有助于提高授权通过率。

@taro-bot2 taro-bot2 bot added F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x labels Oct 19, 2021
@oyvfhp
Copy link
Author

oyvfhp commented Oct 19, 2021

@Chen-jj 麻烦您帮看下,这个功能使用对提升百度小程序授权登陆成功率有很高的提升。

@oyvfhp
Copy link
Author

oyvfhp commented Oct 21, 2021

@Chen-jj @luckyadam @yuche 一起来围观一下。 look look。

@sheodon
Copy link

sheodon commented Jul 7, 2022

请问这个插件怎么使用呀?

@oyvfhp
Copy link
Author

oyvfhp commented Jul 7, 2022

请问这个插件怎么使用呀?

百度官方有文档的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-swan Target - 编译到百度小程序 V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants