Rate组件中的图标没渲染 #5681
Unanswered
lihanspace
asked this question in
Q&A
Rate组件中的图标没渲染
#5681
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.
-
使用Rate组件
chrome控制台检查元素

源码Star.tsx
character只在第一个li的第一个div.ant-rate-star-first中渲染了。源码中
character不是个常量吗?为什么在div.ant-rate-star-first里渲染了,但是在div.ant-rate-star-second里就没渲染呢?还是说都渲染了,只不过只有第一次渲染成功了,后面都渲染不出来?为什么会这样呢?
求大佬解答
Beta Was this translation helpful? Give feedback.
All reactions