From 67bba9ebdcc2de56a519e60e8a44279b9970dec1 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Wed, 19 Apr 2023 10:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=82=AE=E7=AE=B1=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/tpm/challengesnew/tpm-md-editor.js | 2 -- 1 file changed, 2 deletions(-) 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){