mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 添加新页面时未清空元素焦点(#31)
This commit is contained in:
parent
323835a3db
commit
b5e8c23756
@ -75,6 +75,7 @@ export default () => {
|
|||||||
color: theme.value.backgroundColor,
|
color: theme.value.backgroundColor,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
store.commit(MutationTypes.SET_ACTIVE_ELEMENT_ID_LIST, [])
|
||||||
store.commit(MutationTypes.ADD_SLIDE, emptySlide)
|
store.commit(MutationTypes.ADD_SLIDE, emptySlide)
|
||||||
addHistorySnapshot()
|
addHistorySnapshot()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user