fix: 修改引入 css 的方式

This commit is contained in:
2betop 2024-03-26 17:01:55 +08:00
parent c06bbd7c2e
commit 5d15f30b79

View File

@ -4,8 +4,8 @@ import type CodeMirror from 'codemirror';
import {autobind, changedEffect} from 'amis-core'; import {autobind, changedEffect} from 'amis-core';
import {resizeSensor} from 'amis-core'; import {resizeSensor} from 'amis-core';
import 'codemirror/theme/idea.css'; // import 'codemirror/theme/idea.css';
import 'codemirror/theme/base16-dark.css'; // import 'codemirror/theme/base16-dark.css';
// import 'codemirror/theme/base16-light.css'; // import 'codemirror/theme/base16-light.css';
export interface CodeMirrorEditorProps { export interface CodeMirrorEditorProps {