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 按钮组件在 "style":"v2" 下 “点击后样式” 失效 #53

Closed
Qchail opened this issue Dec 27, 2021 · 1 comment · Fixed by #60
Closed

button 按钮组件在 "style":"v2" 下 “点击后样式” 失效 #53

Qchail opened this issue Dec 27, 2021 · 1 comment · Fixed by #60

Comments

@Qchail
Copy link

Qchail commented Dec 27, 2021

导入 button 按钮组件后发现点击没有出现 “点击后状态样式”(即按钮变暗),百思不得其解,准备放弃 tdesign 的按钮尝试使用 vant-weapp 的按钮,发现其文档 快速上手部分 的 步骤二 说明如下:

将 app.json 中的 "style": "v2" 去除,小程序的新版基础组件强行加上了许多样式,难以覆盖,不关闭将造成部分组件样式混乱。

按照其说法去除 "style": "v2" 后发现 tdesign 按钮样式恢复,重新加上 "style": "v2" 按钮的 “点击后样式” 失效。
建议在文档中也补充相关说明。

@LeeJim
Copy link
Collaborator

LeeJim commented Dec 28, 2021

可以的。感谢反馈

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 a pull request may close this issue.

2 participants