Преглед на файлове

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

zhangjie преди 8 месеца
родител
ревизия
3726adb30c
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  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) {