mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 删除节和幻灯片后元素焦点异常
This commit is contained in:
parent
a13e66c42e
commit
b32eceac05
@ -248,7 +248,10 @@ const contextmenusSection = (el: HTMLElement): ContextmenuItem[] => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '删除节和幻灯片',
|
text: '删除节和幻灯片',
|
||||||
handler: () => removeSectionSlides(sectionId),
|
handler: () => {
|
||||||
|
mainStore.setActiveElementIdList([])
|
||||||
|
removeSectionSlides(sectionId)
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '删除所有节',
|
text: '删除所有节',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user