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] 为什么使用::after 来给按钮加边框 #2776

Closed
lizihanglove opened this issue May 17, 2024 · 2 comments
Closed

[T-Button] 为什么使用::after 来给按钮加边框 #2776

lizihanglove opened this issue May 17, 2024 · 2 comments
Labels
question This is a question, not a bug

Comments

@lizihanglove
Copy link

tdesign-miniprogram 版本

1.4.0

重现链接

No response

重现步骤

No response

期望结果

No response

实际结果

No response

基础库版本

No response

补充说明

No response

Copy link
Contributor

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

@anlyyao
Copy link
Collaborator

anlyyao commented May 20, 2024

企业微信截图_78c8e2a4-8f45-4d4a-927a-8089c8eba176

原生 button 的 boder 是用 after 伪元素实现,TButton 算是重写或者覆盖吧🤔

@anlyyao anlyyao added the question This is a question, not a bug label May 20, 2024
@anlyyao anlyyao closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants