Warning: [antdv: LocaleProvider] `LocaleProvider` is deprecated. Please use `local

Posted 尔嵘

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Warning: [antdv: LocaleProvider] `LocaleProvider` is deprecated. Please use `local相关的知识,希望对你有一定的参考价值。

1.使用ant-vue始终报这个警告,因为ant-vue的新版本废弃了a-locale-provide

2.解决如下:

找到App.vue,将 <a-locale-provider :locale="locale"></a-locale-provider>修改为:

<a-config-provider :locale="locale"></a-config-provider>

以上是关于Warning: [antdv: LocaleProvider] `LocaleProvider` is deprecated. Please use `local的主要内容,如果未能解决你的问题,请参考以下文章

解决vue(antdv)报错: Warning: [antd: LocaleProvider] `LocaleProvider` is deprecated.

Warning: [antdv: LocaleProvider] `LocaleProvider` is deprecated. Please use `local

Warning: [antdv: LocaleProvider] `LocaleProvider` is deprecated. Please use `local

antdv中table组件滚动条样式修改

vue3 + vite + ts + antdv 搭建后台管理基础框架

#yyds干货盘点#前端如何通过antdv组件上传文件