webpack-internal:///../node_modules/rc-util/lib/warning.js:20 Warning: [antd: LocaleProvider] `Local

webpack-internal:///…/node_modules/rc-util/lib/warning.js:20 Warning: [antd: LocaleProvider] LocaleProvider is deprecated. Please use locale with ConfigProvider instead:

翻译出来就是
webpack internal:///…/node_modules/rc util/lib/warning.js:20警告:[antd:LocaleProvider]`LocaleProvider’已弃用。请将“locale”与“ConfigProvider”一起使用;

直接将LocaleProvider替换为ConfigProvider,使用即可。
参考:
https://ant.design/components/config-provider-cn/#components-config-provider-demo-locale

你可能感兴趣的:(react,bug,Warning:,[antd:,LocaleProvider],`L)