|
@@ -69,16 +69,18 @@ const mutations = {
|
|
|
state.openElementEditDialog = openElementEditDialog;
|
|
|
},
|
|
|
initState(state) {
|
|
|
+ state.cardConfig = {};
|
|
|
+ state.paperParams = {};
|
|
|
state.curElement = {};
|
|
|
state.curDragElement = {};
|
|
|
state.curPage = {};
|
|
|
state.curPageNo = 0;
|
|
|
- state.topics = [];
|
|
|
state.pages = [];
|
|
|
- state.cardConfig = {};
|
|
|
- state.paperParams = {};
|
|
|
- state.openElementEditDialog = false;
|
|
|
+ state.topics = [];
|
|
|
state.topicSeries = [];
|
|
|
+ state.topicNoSeries = [];
|
|
|
+ state.insetTarget = {};
|
|
|
+ state.openElementEditDialog = false;
|
|
|
},
|
|
|
};
|
|
|
|