瀏覽代碼

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(() => {