我想在“编辑”和“显示”页面上的 react-admin 项目上创建自定义的两列网格布局。我想在左列上显示选择框和图像上传区域,而在右列上只使用一个<SimpleForm>.
如果使用一个div或者一个<Card>部件下<SimpleForm>和<EditController>部件,收到错误。
Warning: React does not recognize the `basePath` prop on a DOM element.
If you intentionally want it to appear in the DOM as a custom
attribute, spell it as lowercase `basepath` instead. If you
accidentally passed it from a parent component, remove it from the DOM
element.
Run Code Online (Sandbox Code Playgroud)
有没有办法创建没有这个错误的布局?