From b32eceac051cb88e9cdba2ff48bf45520c9622d9 Mon Sep 17 00:00:00 2001 From: zxc <1171051090@qq.com> Date: Sun, 28 Jul 2024 18:54:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E8=8A=82=E5=92=8C?= =?UTF-8?q?=E5=B9=BB=E7=81=AF=E7=89=87=E5=90=8E=E5=85=83=E7=B4=A0=E7=84=A6?= =?UTF-8?q?=E7=82=B9=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/Thumbnails/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/Editor/Thumbnails/index.vue b/src/views/Editor/Thumbnails/index.vue index 834f75c3..e0ed390f 100644 --- a/src/views/Editor/Thumbnails/index.vue +++ b/src/views/Editor/Thumbnails/index.vue @@ -248,7 +248,10 @@ const contextmenusSection = (el: HTMLElement): ContextmenuItem[] => { }, { text: '删除节和幻灯片', - handler: () => removeSectionSlides(sectionId), + handler: () => { + mainStore.setActiveElementIdList([]) + removeSectionSlides(sectionId) + }, }, { text: '删除所有节',