|
|
|
@ -48,6 +48,7 @@ function MyMonacoEditor(props, ref) {
|
|
|
|
|
});
|
|
|
|
|
const [height, setHeight] = useState('calc(100% - 56px)');
|
|
|
|
|
const editorRef = useRef(null);
|
|
|
|
|
console.log(language, code, '-------========----------')
|
|
|
|
|
|
|
|
|
|
useEffect(() => {
|
|
|
|
|
setHeight(showOrHideControl ? 'calc(100% - 378px)' : 'calc(100% - 56px)');
|
|
|
|
|