瀏覽代碼

题卡栏数切换bug

zhangjie 3 年之前
父節點
當前提交
50185080be
共有 2 個文件被更改,包括 2 次插入4 次删除
  1. 1 1
      card/components/ElementPropEdit.vue
  2. 1 3
      card/components/PagePropEdit.vue

+ 1 - 1
card/components/ElementPropEdit.vue

@@ -69,7 +69,7 @@ export default {
     }
   },
   methods: {
-    ...mapMutations("card", ["setOpenElementEditDialog", "setTopicNos"]),
+    ...mapMutations("card", ["setOpenElementEditDialog"]),
     ...mapActions("card", [
       "addElement",
       "modifyElement",

+ 1 - 3
card/components/PagePropEdit.vue

@@ -125,8 +125,7 @@ export default {
       "setPages",
       "setTopics",
       "setCurElement",
-      "setCardConfig",
-      "setTopicNos"
+      "setCardConfig"
     ]),
     ...mapActions("card", ["rebuildPages", "resetElementProp"]),
     modifyColumnNum(item) {
@@ -147,7 +146,6 @@ export default {
       this.setCardConfig(this.form);
       this.setPages([]);
       this.setTopics([]);
-      this.setTopicNos([]);
       this.$emit("init-page");
     },
     showForbidAreaChange() {