Open guoweiTang opened 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;
后来用啥了,这个估计维护不动了
上线之前测了吗,如果我引用"/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;