|
@@ -1196,11 +1196,16 @@ export default {
|
|
|
item.type = "explain";
|
|
item.type = "explain";
|
|
|
});
|
|
});
|
|
|
this.allWordList = this.wordLit.concat(this.phraseList);
|
|
this.allWordList = this.wordLit.concat(this.phraseList);
|
|
|
- let leg = articleInfo.art_corpus_data
|
|
|
|
|
- ? articleInfo.art_corpus_data.sentList[
|
|
|
|
|
- articleInfo.art_corpus_data.sentList.length - 1
|
|
|
|
|
- ].pno
|
|
|
|
|
- : 0;
|
|
|
|
|
|
|
+ let leg =
|
|
|
|
|
+ articleInfo.art_corpus_data &&
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList &&
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList[
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList.length - 1
|
|
|
|
|
+ ]
|
|
|
|
|
+ ? articleInfo.art_corpus_data.sentList[
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList.length - 1
|
|
|
|
|
+ ].pno
|
|
|
|
|
+ : 0;
|
|
|
this.sentenceList.forEach((item, index) => {
|
|
this.sentenceList.forEach((item, index) => {
|
|
|
let flag = "";
|
|
let flag = "";
|
|
|
item.StyleTokens = [];
|
|
item.StyleTokens = [];
|
|
@@ -1516,7 +1521,10 @@ export default {
|
|
|
let allWordList = wordLit.concat(phraseList);
|
|
let allWordList = wordLit.concat(phraseList);
|
|
|
let leg =
|
|
let leg =
|
|
|
articleInfo.art_corpus_data &&
|
|
articleInfo.art_corpus_data &&
|
|
|
- articleInfo.art_corpus_data.sentList
|
|
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList &&
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList[
|
|
|
|
|
+ articleInfo.art_corpus_data.sentList.length - 1
|
|
|
|
|
+ ]
|
|
|
? articleInfo.art_corpus_data.sentList[
|
|
? articleInfo.art_corpus_data.sentList[
|
|
|
articleInfo.art_corpus_data.sentList.length - 1
|
|
articleInfo.art_corpus_data.sentList.length - 1
|
|
|
].pno
|
|
].pno
|