|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
* @Github:
|
|
|
|
|
* @Date: 2019-11-27 15:02:52
|
|
|
|
|
* @LastEditors : tangjiang
|
|
|
|
|
* @LastEditTime : 2019-12-27 18:01:48
|
|
|
|
|
* @LastEditTime : 2019-12-27 20:49:46
|
|
|
|
|
*/
|
|
|
|
|
import './index.scss';
|
|
|
|
|
import React, { useState, useRef, useEffect } from 'react';
|
|
|
|
@ -23,7 +23,7 @@ const maps = {
|
|
|
|
|
'c': 'main.c',
|
|
|
|
|
'c++': 'main.cc',
|
|
|
|
|
'java': 'main.java',
|
|
|
|
|
'pythone': 'main.py'
|
|
|
|
|
'python': 'main.py'
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
function MyMonacoEditor (props, ref) {
|
|
|
|
|