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

feat: taro 组件支持字节 PaymentChannelSelect 组件 #16889

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ChelesteWang
Copy link
Contributor

这个 PR 做了什么? (简要描述所做更改)
支持 Taro 调用字节小程序的 PaymentChannelSelect 组件

这个 PR 是什么类型? (至少选择一个)

  • 错误修复(Bugfix) issue: fix #
  • 新功能(Feature)
  • 代码重构(Refactor)
  • TypeScript 类型定义修改(Typings)
  • 文档修改(Docs)
  • 代码风格更新(Code style update)
  • 其他,请描述(Other, please describe):

这个 PR 涉及以下平台:

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)
  • 鸿蒙(harmony)

@tutuxxx tutuxxx self-requested a review November 19, 2024 08:47
@tutuxxx tutuxxx self-assigned this Nov 19, 2024
@tutuxxx tutuxxx added this to the 4.0.8 milestone Nov 19, 2024
@@ -168,5 +168,15 @@ export const components = {
fixed: _false,
'left-right-padding': _empty,
bindError: _empty
},
PaymentChannelSelect:{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请保证代码风格,如:Missing space before value for key 'PaymentChannelSelect'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tks

export const RateButton = 'rate-button'
export const OpenData = 'open-data'
export const AwemeUserCard = 'aweme-user-card'
export const PaymentChannelSelect = 'payment-channel-select'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件应该是多余的

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I got it

This was referenced Nov 23, 2024
@tutuxxx tutuxxx removed this from the 4.0.8 milestone Nov 29, 2024
@ChelesteWang ChelesteWang requested a review from tutuxxx December 2, 2024 06:00
.prettierrc Outdated
@@ -1,5 +1,6 @@
{
"semi": false,
"singleQuote": true,
"printWidth": 120
"printWidth": 120,
"trailingComma": "none"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不建议更改风格配置

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个这个代码之前本身风格配置就有问题,按历史逻辑来讲是 trailingComma 但是代码内部也没有做格式化,导致ide根据这个格式化会失败(多了很多不符合预期的diff),可以把这个文件不修改,但是本周还是需要社区整体治理一下

@ChelesteWang ChelesteWang requested a review from tutuxxx December 12, 2024 06:46
This was referenced Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants