Reactjs 反作用设计抽屉

Reactjs 反作用设计抽屉,reactjs,antd,Reactjs,Antd,在ant design v4.10中打开抽屉时,我遇到了这个错误。我还降级到了以前的版本4.6.x,但错误仍然存在 React does not recognize the `scrollLocker` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `scrolllocker` instead. If you

在ant design v4.10中打开抽屉时,我遇到了这个错误。我还降级到了以前的版本4.6.x,但错误仍然存在

React does not recognize the `scrollLocker` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `scrolllocker` instead. If you accidentally passed it from a parent component, remove it from the DOM element

Ant设计版本
4.10.1
已修复此问题

您应该显示并使用您编写的React组件,以便我们可以看到错误发生的位置。