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.5.0.6 使用框架: React
<Form clueComponentId={'1824d480b19ecbfa91ea8ae854442b18'} conversionTarget={1} onSubmit={(e) => { console.log('onSubmit', JSON.stringify(e)) }}> <Button openType={'getPhoneNumber'} formType={'submit'} onGetPhoneNumber={(e) => { console.log('onGetPhoneNumber', JSON.stringify(e))}}>获取电话</Button> </Form>
form组件内可无门槛获取手机号
[TaroLog] onGetPhoneNumber: {"errNo":10101,"errMsg":"getPhoneNumber:fail platform auth deny"}
Taro CLI 3.6.8 environment info: System: OS: macOS 14.0 Shell: 5.9 - /bin/zsh Binaries: Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.13.2 - ~/.nvm/versions/node/v16.15.1/bin/npm
去抖音开放平台沟通并调试,发现是组件配置参数在提交时丢失了。
The text was updated successfully, but these errors were encountered:
补充下 ttAppId: tt700e06b3ef3d92d101 尝试最新版本3.6.19,重新初始化最新项目等依旧不行。
Sorry, something went wrong.
@zhiqingchen
@ZakaryCode 有人帮忙看看不
根据 taro 目前的方式,所有组件的属性都要在taro源码里面手动添加的,我搜了 taro源码里面 Form组件 好像没有 conversion-target 和 clue-component-id 这2个属性,你可以先用 taro-plugin-inject 尝试自己加下
感谢,已经按照这个方式解决了
No branches or pull requests
相关平台
字节跳动小程序
小程序基础库: 3.5.0.6
使用框架: React
复现步骤
期望结果
form组件内可无门槛获取手机号
实际结果
[TaroLog] onGetPhoneNumber:
{"errNo":10101,"errMsg":"getPhoneNumber:fail
platform auth deny"}
环境信息
补充信息
去抖音开放平台沟通并调试,发现是组件配置参数在提交时丢失了。
The text was updated successfully, but these errors were encountered: