-
连续点击 TabBar 的某一 Item ,即使是 key 值相同,onChange 也会触发,onChange 事件应该是在 key 值不同的时候触发吧。 疑惑的点是,顺便看了下其他的 UI 库,除了 vant 其他的也都是相同逻辑,只有 vant 在 key 值相同时不触发。设计如此么? |
Beta Was this translation helpful? Give feedback.
Answered by
awmleer
Jun 27, 2022
Replies: 1 comment 1 reply
-
应该是个 bug,我开一条 issue |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
a145789
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
应该是个 bug,我开一条 issue