Browse Source

fix: 题库试卷转题卡卡头字段替换问题

zhangjie 8 months ago
parent
commit
3726adb30c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/modules/card/components/CardBuildDialog.vue

+ 6 - 0
src/modules/card/components/CardBuildDialog.vue

@@ -307,6 +307,12 @@ export default {
       config.requiredFields = JSON.parse(config.requiredFields);
       config.extendFields = JSON.parse(config.extendFields);
       config.cardTitle = this.getCardTitle(config.titleRule);
+      config.firstLevelSubheading = this.getCardTitle(
+        config.firstLevelSubheading
+      );
+      config.secondLevelSubheading = this.getCardTitle(
+        config.secondLevelSubheading
+      );
       return config;
     },
     getCardTitle(titleRule) {