Closed ztplz closed 5 years ago
close https://github.com/ant-design/ant-design/issues/18166
@afc163 @zombieJ
Coverage remained the same at 93.684% when pulling c08ef71cf1e7ef8829547fc79f7a6dbacaf82190 on ztplz:warning into c1c956bb3e59b0cdafb87a4c03825fef55975c36 on react-component:master.
ant-design/ant-design#18166 不只是 warning 的问题,activeKey 没有生效。
那这是另外一个bug
可以一起修掉。
Done. react会把用户的number类型的key都变成字符串,但是我们设置activekey的逻辑是比的是用户的key和react元素的key 我把用户的key再内部也变成字符串了
补个用例吧,免得改挂
close https://github.com/ant-design/ant-design/issues/18166