소스 검색

题卡栏数切换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() {