|
@@ -53,7 +53,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
deep: true,
|
|
|
- immediate: true,
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
@@ -72,6 +71,8 @@ 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;
|
|
|
+
|
|
|
+ console.log(this.data.paragraph_list_parameter);
|
|
|
CrateParsedTextInfo_Pinyin(this.data.paragraph_list_parameter).then((res) => {
|
|
|
if (res.parsed_text) {
|
|
|
this.data.paragraph_list = res.parsed_text.paragraph_list;
|
|
@@ -81,9 +82,9 @@ export default {
|
|
|
// 填充校对后的拼音
|
|
|
fillCorrectPinyin(selectContent, tonePinyin, i, j, k) {
|
|
|
this.data.paragraph_list_parameter.pinyin_proofread_word_list.push({
|
|
|
- paragraph_index: `${i}`,
|
|
|
- sentence_index: `${j}`,
|
|
|
- word_index: `${k}`,
|
|
|
+ paragraph_index: i,
|
|
|
+ sentence_index: j,
|
|
|
+ word_index: k,
|
|
|
word: selectContent,
|
|
|
pinyin: tonePinyin,
|
|
|
});
|