在使用 RangePicker 前正常,引入RangePicker 后报如下错误:
但是我项目中并没有使用hook,按照提示的可能原因,猜想是版本不兼容问题,看了一下antd版本为4.5.4,eact版本为16.13.1。
于是重新安装4.5.3版本的antd,安装好重启,日历可以正常使用。
在使用 RangePicker 前正常,引入RangePicker 后报如下错误:
但是我项目中并没有使用hook,按照提示的可能原因,猜想是版本不兼容问题,看了一下antd版本为4.5.4,eact版本为16.13.1。
于是重新安装4.5.3版本的antd,安装好重启,日历可以正常使用。
最新评论
我这边UI界面用React重写了,地址是 https://vps.kkwen.cn,有需要可以提供给你
Thankfulness to my father who told me concerning this webpage, this web site is genuinely remarkable