fix: 添加新页面时未清空元素焦点(#31)

This commit is contained in:
pipipi-pikachu 2021-05-26 20:55:32 +08:00
parent 323835a3db
commit b5e8c23756

View File

@ -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()
}