diff --git a/packages/amis-editor/src/plugin/Chart.tsx b/packages/amis-editor/src/plugin/Chart.tsx index 30cbbe227..918123ae8 100644 --- a/packages/amis-editor/src/plugin/Chart.tsx +++ b/packages/amis-editor/src/plugin/Chart.tsx @@ -9,13 +9,13 @@ import { } from 'amis-editor-core'; import {defaultValue, getSchemaTpl, } from 'amis-editor-core'; import {diff} from 'amis-editor-core'; -import AMisCodeEditor from 'amis-editor-core'; +import {CodeEditor as AmisCodeEditor} from 'amis-editor'; import {RendererPluginAction} from 'amis-editor-core'; const ChartConfigEditor = ({value, onChange}: any) => { return (