diff --git a/src/modules/tpm/challengesnew/tpm-md-editor.js b/src/modules/tpm/challengesnew/tpm-md-editor.js index 52ef838a7..0e8656623 100644 --- a/src/modules/tpm/challengesnew/tpm-md-editor.js +++ b/src/modules/tpm/challengesnew/tpm-md-editor.js @@ -266,7 +266,6 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla }, "fullScreen":function(cm,icon,cursor,selection){ icon.addClass("none"); - console.log(cm,icon) }, "inline-latex": function (cm, icon, cursor, selection) { cm.replaceSelection("$$" + selection + "$$"); @@ -416,7 +415,6 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla if(atWhoLoginList.current.length != 0){ const codemirror = editorInstance.cm; //startValue:触发change方法时的内容,value:处理了初始内容带@用户的情况 - let startValue = codemirror.getValue(); let value = codemirror.getValue(); //处理初始内容就自带@谁的情况 if(initValue){