|
|
@@ -103,7 +103,7 @@
|
|
|
<script>
|
|
|
import { isEnable } from '@/views/book/courseware/data/common';
|
|
|
import ModuleMixin from '../../common/ModuleMixin';
|
|
|
-import { CrateParsedTextInfo_Pinyin } from '@/api/book';
|
|
|
+import { PinyinBuild_OldFormat } from '@/api/book';
|
|
|
import UploadPicture from '../new_word/components/UploadPicture.vue';
|
|
|
|
|
|
import { getNotesData, getOption } from '@/views/book/courseware/data/notes';
|
|
|
@@ -208,7 +208,7 @@ export default {
|
|
|
this.data.paragraph_list_parameter.text = text.replace(/<[^>]+>/g, '');
|
|
|
this.data.paragraph_list_parameter.is_first_sentence_first_hz_pinyin_first_char_upper_case =
|
|
|
this.data.property.is_first_sentence_first_hz_pinyin_first_char_upper_case;
|
|
|
- CrateParsedTextInfo_Pinyin(this.data.paragraph_list_parameter).then((res) => {
|
|
|
+ PinyinBuild_OldFormat(this.data.paragraph_list_parameter).then((res) => {
|
|
|
if (res.parsed_text) {
|
|
|
const mergedData = res.parsed_text.paragraph_list.map((outerArr, i) =>
|
|
|
outerArr.map((innerArr, j) =>
|