|
|
@@ -220,7 +220,8 @@ export default {
|
|
|
deep: true,
|
|
|
},
|
|
|
'data.property.is_first_sentence_first_hz_pinyin_first_char_upper_case': {
|
|
|
- handler(val) {
|
|
|
+ handler(val, oldVal) {
|
|
|
+ if (val === oldVal) return;
|
|
|
let text = '';
|
|
|
this.data.option_list.forEach((item) => {
|
|
|
item.forEach((items) => {
|
|
|
@@ -231,7 +232,7 @@ export default {
|
|
|
this.data.paragraph_list = [];
|
|
|
return;
|
|
|
}
|
|
|
- if (text && isEnable(this.data.property.view_pinyin) && this.data.paragraph_list.length <= 0) {
|
|
|
+ if (text && isEnable(this.data.property.view_pinyin)) {
|
|
|
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);
|