可以使用 Select 组件的 props 属性中的 notFoundContent 来自定义。例如,将 'No Data” 改成 '暂无数据”。
notFoundContent
import { Select } from 'antd'; const options = [];
上一篇:AntDesign的日历组件`onSelect`无法按预期工作。
下一篇:AntDesign的Step组件在子组件中使用时状态无法更新。