Explorar el Código

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

zhangjie hace 8 meses
padre
commit
3726adb30c
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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) {