ant design select placeholder不生效緣由

當select的value綁定一個state默認值時,若是默認值是''或null時,placeholder不生效select

解決方案:默認值設爲undefined解決方案

相關文章
相關標籤/搜索