feat: 修改 splitEnArticle 方法,修复'Do you always get up so late? It's one o'clock!' 断成两句,然后合并之后,后面的那句为空,但未被删除掉
This commit is contained in:
@@ -115,7 +115,9 @@ export interface Article {
|
||||
newWords: Word[],
|
||||
textAllWords: string[],
|
||||
sections: Sentence[][],
|
||||
useTranslateType: TranslateType
|
||||
useTranslateType: TranslateType,
|
||||
audioSrc: string,
|
||||
lrcPosition: number[][],
|
||||
}
|
||||
|
||||
export const DefaultArticle: Article = {
|
||||
@@ -130,7 +132,9 @@ export const DefaultArticle: Article = {
|
||||
newWords: [],
|
||||
textAllWords: [],
|
||||
sections: [],
|
||||
useTranslateType: TranslateType.custom
|
||||
useTranslateType: TranslateType.custom,
|
||||
audioSrc: '',
|
||||
lrcPosition: [],
|
||||
}
|
||||
|
||||
export interface Statistics {
|
||||
|
||||
Reference in New Issue
Block a user