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

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

zhangjie преди 7 месеца
родител
ревизия
f149d56f32
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      src/modules/card/components/CardBuildDialog.vue

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

@@ -308,6 +308,12 @@ export default {
       config.extendFields = JSON.parse(config.extendFields);
       config.relationList = JSON.parse(config.relationList || "[]");
       config.cardTitle = this.getCardTitle(config.titleRule);
+      config.firstLevelSubheading = this.getCardTitle(
+        config.firstLevelSubheading
+      );
+      config.secondLevelSubheading = this.getCardTitle(
+        config.secondLevelSubheading
+      );
       return config;
     },
     getCardTitle(titleRule) {