Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想更改道具数据为空数组时出现的消息。我找不到任何道具来修改它。有什么解决办法吗?我想将此信息翻译成其他语言。
有一个道具locale可以让这种行为完成。您可以将对象传递给此道具,以更改空数据的消息,如下所示:
locale
locale={{ emptyMessage: "No data found"}}