dev_aliyun2
杨树明 5 years ago committed by harry
parent 56e083fd1e
commit 3c1fb1a289

@ -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)');

Loading…
Cancel
Save