Jelajahi Sumber

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

liuzhidong 4 tahun lalu
induk
melakukan
e1123a2ccb
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  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(() => {