2 커밋 b223e332b8 ... de0255516e

작성자 SHA1 메시지 날짜
  wzl de0255516e update: 内容编辑首次渲染优化速度 3 달 전
  wzl b223e332b8 update: 内容编辑首次渲染优化速度 3 달 전
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      packages/core/src/editor/image_editor.js
  2. 1 1
      packages/core/src/editor/text_editor.js

+ 1 - 1
packages/core/src/editor/image_editor.js

@@ -17,7 +17,7 @@ export class ImageEditor {
     pageViewer,
     $t,
     hidden,
-    isUpdate
+    isUpdate = false
   }) {
     this.eventBus = eventBus
     this.contentContainer = contentContainer

+ 1 - 1
packages/core/src/editor/text_editor.js

@@ -18,7 +18,7 @@ export class TextEditor {
     newAdd,
     pageViewer,
     hidden,
-    isUpdate
+    isUpdate = false
   }) {
     this.eventBus = eventBus
     this.contentContainer = contentContainer