schema未匹配到展示组件
blockmood opened this issue · 2 comments
blockmood commented
1.依赖仓库的版本(Dependencies versions):
- react:
- form-render:
- table-render:
- antd:
2.问题描述(Bug description):
3.出现问题的 schema demo(Reproduction schema demo):
const schema = {
// ...
[1.json](https://github.com/alibaba/x-render/files/15124432/1.json)
}
4.最小复现 demo(Reproduction demo):
import { useEffect, useRef, useState } from "react";
import { schema } from './1'
import Form, { useForm } from 'form-render';
function App() {
const form = useForm();
return (
<div className="App1">
<Form
form={form}
schema={schema}
onFinish={formData => console.log(JSON.stringify(formData, null, 2))}
footer
/>
</div>
);
}
export default App;
form-render demo https://codesandbox.io/s/unruffled-flower-jl78h
table-render demo https://codesandbox.io/s/sweet-euler-bdoty
fr-generator demo https://codesandbox.io/s/s13sh
帮忙看看是什么问题,谢谢。
blockmood commented