zhangjie 2 жил өмнө
parent
commit
1c0d9c4780
1 өөрчлөгдсөн 6 нэмэгдсэн , 4 устгасан
  1. 6 4
      card/store/card.js

+ 6 - 4
card/store/card.js

@@ -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;
   },
 };