소스 검색

fix(codeMirror): fix the JsonEditor embedded in the bullet frame causing the style to be disordered (#668)

liuzhidong 3 년 전
부모
커밋
e1123a2ccb
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/components/CodeEditor/src/codemirror/CodeMirror.vue

+ 0 - 1
src/components/CodeEditor/src/codemirror/CodeMirror.vue

@@ -114,7 +114,6 @@
         await nextTick();
         init();
         window.addEventListener('resize', debounceRefresh);
-        setTimeout(refresh, 50);
       });
 
       onUnmounted(() => {