zhangjie 2 tahun lalu
induk
melakukan
1c0d9c4780
1 mengubah file dengan 6 tambahan dan 4 penghapusan
  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;
   },
 };