今天开发项目时发现antd默认文案都是英文,在网上搜到的切换文案的方法都是用LocaleProvider组件,但是实际试了之后报错"‘LocaleProvider‘ is not exported from ‘antd‘",看了官方文档之后才知道现在的解决方案是用
关于antd英文文案切换为中文
原文:https://www.cnblogs.com/douzizuikeai/p/12786461.html