Open wdqCharles opened 1 year ago
@wdqCharles please share a reproducible code snippet or a repository
@wdqCharles please share a reproducible code snippet or a repository In test enviroment, i import this JSONEditor component, refresh page will throw error
export default function JSONEditor(props: Props) { const { height, name } = props; return ( <Form.Item name={name} wrapperCol={{ span: 20 }}> <Editor defaultLanguage="json" className={styles.editor} height={height || 200} /> </Form.Item> ); }
@wdqCharles this code snippet isn't reproducible? What Form.Item
is? Could you please create a codesandbox or a repo?
reproducible i can't reproduction in codesandbox. I guess still version problem or maybe my company test enviroment problem.
Describe the bug A clear and concise description of what the bug is.
To Reproduce
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.