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

[t-button] 'suffix' 属性不起作用 #1784

Closed
zsying opened this issue Mar 16, 2023 · 3 comments · Fixed by #1813
Closed

[t-button] 'suffix' 属性不起作用 #1784

zsying opened this issue Mar 16, 2023 · 3 comments · Fixed by #1813
Labels
easy 简单问题 help wanted Extra attention is needed

Comments

@zsying
Copy link

zsying commented Mar 16, 2023

tdesign-miniprogram 版本

1.0.3

重现链接

No response

重现步骤

在t-button组件中,设定 content 和suffix
<t-button disabled="{{finished}}" bindtap="clickNext" content="下一页"> <t-icon name="chevron-right" slot="suffix"></t-icon> </t-button>

期望结果

显示 : 下一页 >

实际结果

下一页

框架版本

No response

基础库版本

No response

补充说明

代码中未实现 suffix

@github-actions
Copy link
Contributor

👋 @zsying,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@LeeJim LeeJim added the help wanted Extra attention is needed label Mar 16, 2023
@github-actions
Copy link
Contributor

任何人都可以处理此问题。
请务必在您的 pull request 中引用此问题。
感谢你的贡献! ✨

@yaogengzhu
Copy link
Collaborator

image

不同层级也能包裹住?啥情况勒

解决这个

  &__content {
    display: flex;
    align-items: center;
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy 简单问题 help wanted Extra attention is needed
Projects
None yet
3 participants