Browse Source

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

liuzhidong 3 năm trước cách đây
mục cha
commit
e1123a2ccb
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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(() => {