From b5e8c237560bd9a72a2f9d4456be7b16ee38704c Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Wed, 26 May 2021 20:55:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=97=B6=E6=9C=AA=E6=B8=85=E7=A9=BA=E5=85=83=E7=B4=A0?= =?UTF-8?q?=E7=84=A6=E7=82=B9=EF=BC=88#31=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useSlideHandler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/useSlideHandler.ts b/src/hooks/useSlideHandler.ts index 361b7648..4dfc8afe 100644 --- a/src/hooks/useSlideHandler.ts +++ b/src/hooks/useSlideHandler.ts @@ -75,6 +75,7 @@ export default () => { color: theme.value.backgroundColor, }, } + store.commit(MutationTypes.SET_ACTIVE_ELEMENT_ID_LIST, []) store.commit(MutationTypes.ADD_SLIDE, emptySlide) addHistorySnapshot() }