This commit is contained in:
王念超
2024-06-06 19:02:52 +08:00
parent 99341a699f
commit 6f0f87ade2
27 changed files with 827 additions and 688 deletions

View File

@@ -136,14 +136,10 @@ export const DefaultArticle: Article = {
}
export interface Statistics {
startIndex: number,
endIndex: number,
startDate: number,//开始日期
endDate: number//结束日期
spend: number,//花费时间
total: number//单词数量
wrongWordNumber: number//错误数
correctRate: number//正确率
wrong: number//错误数
}
export interface DisplayStatistics extends Statistics {
@@ -152,14 +148,10 @@ export interface DisplayStatistics extends Statistics {
}
export const DefaultDisplayStatistics: DisplayStatistics = {
startIndex: -1,
endIndex: -1,
startDate: Date.now(),
endDate: -1,
spend: -1,
total: -1,
correctRate: -1,
wrongWordNumber: -1,
wrong: -1,
inputWordNumber: -1,
wrongWords: [],
}