Update Statistics.vue

This commit is contained in:
Zyronon
2025-08-12 10:40:43 +08:00
committed by GitHub
parent e687f72214
commit d1fc8196c7

View File

@@ -57,6 +57,12 @@ watch(model, (newVal) => {
new: statStore.newWordNumber,
review: statStore.reviewWordNumber + statStore.writeWordNumber
}
window.umami?.track('studyWordEnd', {
name: store.sbook.name,
index: store.sbook.lastLearnIndex,
custom: store.sbook.custom,
complete: store.sbook.complete,
})
//这里不知为啥会卡,打开有延迟
requestIdleCallback(() => {
store.sdict.lastLearnIndex = store.sdict.lastLearnIndex + statStore.newWordNumber