浏览代码

课文分词保留空格

natasha 1 月之前
父节点
当前提交
3f3206c50a

+ 2 - 0
src/views/book/courseware/create/components/question/article/Article.vue

@@ -637,6 +637,7 @@ export default {
         is_custom_fc: 'false',
         is_vocabulary_pinyin_lt: 'true',
         is_fill_punctuation_mark: 'true',
+        is_fill_space: 'true',
       })
         .then((res) => {
           this.loading = false;
@@ -782,6 +783,7 @@ export default {
         is_custom_fc: 'true',
         is_vocabulary_pinyin_lt: 'true',
         is_fill_punctuation_mark: 'true',
+        is_fill_space: 'true',
         fc_paragraph_list: saveArr,
       }).then((res) => {
         if (res.status === 1) {

+ 2 - 0
src/views/book/courseware/create/components/question/dialogue_article/Article.vue

@@ -998,6 +998,7 @@ export default {
         is_custom_fc: 'false',
         is_vocabulary_pinyin_lt: 'true',
         is_fill_punctuation_mark: 'true',
+        is_fill_space: 'true',
       })
         .then((res) => {
           this.loading = false;
@@ -1216,6 +1217,7 @@ export default {
         is_vocabulary_pinyin_lt: 'true',
         is_fill_punctuation_mark: 'true',
         fc_paragraph_list: saveArr,
+        is_fill_space: 'true',
       }).then((res) => {
         if (res.status === 1) {
           res.paragraph_list.forEach((item, index) => {

+ 2 - 0
src/views/book/courseware/create/components/question/image_text/ImageText.vue

@@ -662,6 +662,7 @@ export default {
         is_custom_fc: 'true',
         is_vocabulary_pinyin_lt: 'true',
         is_fill_punctuation_mark: 'true',
+        is_fill_space: 'true',
         fc_paragraph_list: fc_list,
       }).then((res) => {
         if (res.status === 1) {
@@ -848,6 +849,7 @@ export default {
         is_custom_fc: 'false',
         is_vocabulary_pinyin_lt: 'true',
         is_fill_punctuation_mark: 'true',
+        is_fill_space: 'true',
       })
         .then((res) => {
           this.loading = false;