From ec8e8a17d233c80051d441655ac8d24217f16dc7 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Tue, 15 Aug 2023 16:15:10 +0800 Subject: [PATCH] =?UTF-8?q?feat(editor):=20=E5=8E=86=E5=8F=B2=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=9C=80=E5=A4=9A=E5=AD=98=E5=82=A820=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/utils/undo-redo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/utils/undo-redo.ts b/packages/editor/src/utils/undo-redo.ts index 7e443076..76713f1f 100644 --- a/packages/editor/src/utils/undo-redo.ts +++ b/packages/editor/src/utils/undo-redo.ts @@ -23,7 +23,7 @@ export class UndoRedo { private listCursor: number; private listMaxSize: number; - constructor(listMaxSize = 200) { + constructor(listMaxSize = 20) { const minListMaxSize = 2; this.elementList = []; this.listCursor = 0;