|
@@ -206,7 +206,11 @@ export default {
|
|
|
text += `${items.content.replace(/<[^>]+>/g, '')}\n`;
|
|
|
});
|
|
|
});
|
|
|
- if (isEnable(val) && text) {
|
|
|
+ if (!isEnable(val)) {
|
|
|
+ this.data.paragraph_list = [];
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (isEnable(val) && text && this.data.paragraph_list.length <= 0) {
|
|
|
this.data.paragraph_list_parameter.text = text;
|
|
|
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;
|
|
@@ -223,7 +227,11 @@ export default {
|
|
|
text += `${items.content.replace(/<[^>]+>/g, '')}\n`;
|
|
|
});
|
|
|
});
|
|
|
- if (text && isEnable(this.data.property.view_pinyin)) {
|
|
|
+ if (!isEnable(this.data.property.view_pinyin)) {
|
|
|
+ this.data.paragraph_list = [];
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (text && isEnable(this.data.property.view_pinyin) && this.data.paragraph_list.length <= 0) {
|
|
|
this.data.paragraph_list_parameter.text = text;
|
|
|
this.data.paragraph_list_parameter.is_first_sentence_first_hz_pinyin_first_char_upper_case = val;
|
|
|
this.createParsedTextInfoPinyin(text);
|