mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 统一幻灯片页面id长度(#17)
This commit is contained in:
parent
eafdb3ff4a
commit
6aaad5313d
@ -28,7 +28,7 @@ export default () => {
|
|||||||
store.commit(MutationTypes.UPDATE_SLIDE_INDEX, 0)
|
store.commit(MutationTypes.UPDATE_SLIDE_INDEX, 0)
|
||||||
store.commit(MutationTypes.SET_ACTIVE_ELEMENT_ID_LIST, [])
|
store.commit(MutationTypes.SET_ACTIVE_ELEMENT_ID_LIST, [])
|
||||||
store.commit(MutationTypes.SET_SLIDES, [{
|
store.commit(MutationTypes.SET_SLIDES, [{
|
||||||
id: createRandomCode(),
|
id: createRandomCode(8),
|
||||||
elements: [],
|
elements: [],
|
||||||
}])
|
}])
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user