zq 1 month ago
parent
commit
c081591a27

+ 3 - 3
src/views/book/courseware/create/components/base/rich_text/RichText.vue

@@ -137,7 +137,7 @@ import ModuleMixin from '../../common/ModuleMixin';
 import PinyinText from '@/components/PinyinText.vue';
 import DOMPurify from 'dompurify';
 import ExplanatoryNoteDialog from '@/components/ExplanatoryNoteDialog.vue';
-import CheckWord from '@/views/book/courseware/create/components/base/rich_text/CheckWord.vue';
+import CheckWord from '@/views/book/courseware/create/components/base/common/CheckWord.vue';
 import SoundRecord from '@/views/book/courseware/create/components/question/fill/components/SoundRecord.vue';
 import UploadAudio from '@/views/book/courseware/create/components/question/fill/components/UploadAudio.vue';
 import { TextToAudioFile } from '@/api/app';
@@ -333,6 +333,8 @@ export default {
       data.is_custom_fc = fcList.length > 0;
       data.fc_paragraph_list = fcList;
       data.is_rich_text = 'true';
+      data.is_fill_space = 'true';
+
       // 新增:注释相关参数
       let hasNotes = this.data.note_list && this.data.note_list.length > 0 ? 'true' : 'false';
       data.is_match_annota = hasNotes; // 是否匹配注释,默认为 false
@@ -358,8 +360,6 @@ export default {
             // ✅ Vue2 响应式安全赋值
             this.$set(this.data, 'rich_text_list', richTextList);
           }
-          console.log('rich_text', richTextList);
-
           if (parsed_text) {
             const mergedData = parsed_text.paragraph_list.map((outerArr, i) =>
               outerArr.map((innerArr, j) =>