tangning 1 天之前
父節點
當前提交
71ad6bca2a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/view/case/photos/canvas-photo-editor.js

+ 1 - 1
src/view/case/photos/canvas-photo-editor.js

@@ -312,7 +312,7 @@ export class CanvasPhotoEditor {
       this.dragPageData.end = { x: mouseX, y: mouseY }
       let newEndIndex = endIndex<-1?-1:endIndex>this.pages.length-1?this.pages.length:endIndex
       if(newEndIndex != this.dragPageData.movedIndex){
-        await handleClearLine()
+        await this.handleClearLine()
         this.dragPageData.movedIndex = newEndIndex
         this.drawAllPages()
       }