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

微信小程序Button 组件应该有 businessId 的Props 现在没有 #8342

Closed
hijimo opened this issue Dec 22, 2020 · 1 comment
Closed
Labels
enhancement New feature or request
Milestone

Comments

@hijimo
Copy link

hijimo commented Dec 22, 2020

这个特性解决了什么问题?

在微信小程序子商户能力中, open-type="contact" 的按钮支持添加 business-id 字段指向子商户。
目前手动向 Button 组件添加 businessId /business-id 都没有办法在按钮上添加 business-id字段。
现在我们的折衷解决方案是自定义了一个 contact-button 组件来确决这个问题

这个 API 长什么样?

为Button 添加 businessId?: string; 的PropsType

@Chen-jj
Copy link
Contributor

Chen-jj commented Jan 25, 2021

3.1.0-beta.5+ 开始支持

@Chen-jj Chen-jj closed this as completed Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants