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

van-dialog组件当页面内有button组件时 样式会有变化 #13277

Open
cobratyt opened this issue Dec 20, 2024 · 2 comments
Open

van-dialog组件当页面内有button组件时 样式会有变化 #13277

cobratyt opened this issue Dec 20, 2024 · 2 comments

Comments

@cobratyt
Copy link

cobratyt commented Dec 20, 2024

Reproduction Link

null

Vant Version

4.9.7

Describe the Bug

当页面没有van-button时 一切正常

当页面有van-button时 van-button--default会覆盖dialog上按钮的样式

Reproduce Steps

van-button和showDialog共用时样式会出现问题

Device / Browser

No response

@cobratyt
Copy link
Author

微信图片_20241220183651
微信图片_20241220183655

@cobratyt
Copy link
Author

#13268 和这个问题一样,解决方式也一样,跟css加载顺序有关系

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant