时间选择器加载状态,van-loading 和 van-picker__loading 这俩谁应该优先? #13835
Unanswered
JamesFiitWork
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我给 TimePicker 加了 loading,反复刷新画面,结果发现有时候旋转图标背后有蒙层,有时候旋转图标背后没有蒙层。看了下 F12,发现 van-loading 和 van-picker__loading 优先级是一样的,这俩 position 和 color 在互相覆盖。所以我分不太清下面两种行为哪个是对的:
AI 看了 Vant^4.9.16 代码做出如下解释:
AI 说的是对的吗?如果是 bug 我用最新版验证问题,然后在 issue 报一个。
Beta Was this translation helpful? Give feedback.
All reactions