解决原图表组件右侧面板展示不正常的问题 [amis-saas-5662]

Change-Id: Iac2e5d5d33065a8d22130268f309cf8e63a7440d
This commit is contained in:
panzheng 2022-07-28 16:57:14 +08:00
parent df95a0e73a
commit e650d6839a

View File

@ -9,13 +9,13 @@ import {
} from 'amis-editor-core'; } from 'amis-editor-core';
import {defaultValue, getSchemaTpl, } from 'amis-editor-core'; import {defaultValue, getSchemaTpl, } from 'amis-editor-core';
import {diff} 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'; import {RendererPluginAction} from 'amis-editor-core';
const ChartConfigEditor = ({value, onChange}: any) => { const ChartConfigEditor = ({value, onChange}: any) => {
return ( return (
<div className="ae-JsonEditor"> <div className="ae-JsonEditor">
<AMisCodeEditor value={value} onChange={onChange} /> <AmisCodeEditor value={value} onChange={onChange} />
</div> </div>
); );
}; };