-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
[Bug Report] van-toast 背景颜色是白色 #13268
Labels
Comments
我也遇到了相同的问题,是按需引用动态加载css导致的,van-toast和van-pop权重是一样的,但是谁后引入谁起作用,导致van-pop的样式覆盖了van-toast |
大家按照我下面的更改可以解决这个问题: // 引入组件样式
import 'vant/lib/index.css'
// 引入toast样式,否则无样式
import 'vant/es/toast/style' |
我相信这应该是一个 BUG,van-popup 应该作为基准样式,van-toast 则应该覆盖它 |
明显就是规范错误了, 优先级管理混乱了.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction Link
null
Vant Version
4.9.10
Describe the Bug
使用最新版的 vant 库,showFailToast 背景颜色被 van-popup 覆盖了
Reproduce Steps
使用最新版的 vant 库,showFailToast 背景颜色被 van-popup 覆盖了
Device / Browser
chrome
The text was updated successfully, but these errors were encountered: