diff --git a/public/react/src/modules/developer/components/myMonacoEditor/index.js b/public/react/src/modules/developer/components/myMonacoEditor/index.js index 7cff119b9..87f9da0bd 100644 --- a/public/react/src/modules/developer/components/myMonacoEditor/index.js +++ b/public/react/src/modules/developer/components/myMonacoEditor/index.js @@ -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)'); diff --git a/public/react/src/modules/developer/studentStudy/rightpane/index.js b/public/react/src/modules/developer/studentStudy/rightpane/index.js index 9a4a15348..48170cf32 100644 --- a/public/react/src/modules/developer/studentStudy/rightpane/index.js +++ b/public/react/src/modules/developer/studentStudy/rightpane/index.js @@ -58,7 +58,7 @@ const RightPane = (props) => { clearInterval(timer); timer = null; saveUserCodeForInterval(identifier); - }, 3000); + }, 10000); } } @@ -98,7 +98,6 @@ const RightPane = (props) => { } }); } - const { getFieldDecorator } = props.form; return (