diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index 3fa7524..55c8f5a 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -887,8 +887,8 @@ export class Draw { this.historyManager.execute(function () { self.setPageNo(pageNo) self.position.setPositionContext(oldPositionContext) - self.range.setRange(startIndex, endIndex) self.elementList = deepClone(oldElementList) + self.range.setRange(startIndex, endIndex) self.render({ curIndex, isSubmitHistory: false }) }) }