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