Open-Federation / json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on React.
https://hellosean1025.github.io/json-schema-visual-editor/
MIT License
1.02k stars 224 forks source link

界面样式直接乱的 #62

Open guoweiTang opened 3 years ago

guoweiTang commented 3 years ago

上线之前测了吗,如果我引用"/prd/src/index.css"样式是正常了,但是这组件样式直接覆盖了antd的官方样式是怎么个意思,官方的组件的样式表现都不正常了,加一个class名字只定义组件内部的样式很复杂么? 引用方式: import 'json-schema-editor-visual/dist/main.css'; import schemaEditor from 'json-schema-editor-visual/dist/main.js'; const App = (props) => { const SchemaEditor = schemaEditor(props.option); return ( <> <SchemaEditor {...props} /> </> ); }; export default App; sd

linonetwo commented 2 years ago

后来用啥了,这个估计维护不动了