- {{ statisticsStore.total }}
+ {{ statStore.total }}
diff --git a/src/pages/pc/article/components/TypingArticle.vue b/src/pages/pc/article/components/TypingArticle.vue
index af5a3625..9f94fa4d 100644
--- a/src/pages/pc/article/components/TypingArticle.vue
+++ b/src/pages/pc/article/components/TypingArticle.vue
@@ -368,7 +368,8 @@ function onContextMenu(e: MouseEvent, sentence: Sentence, i, j, w) {
onClick: () => {
sectionIndex = i
sentenceIndex = j
- wordIndex = w
+ //todo 这里有可能是符号,要处理下
+ wordIndex = w + 1
stringIndex = 0
input = wrong = ''
isEnd = isSpace = false
@@ -442,6 +443,12 @@ function onContextMenu(e: MouseEvent, sentence: Sentence, i, j, w) {
})
}
},
+ {
+ label: "有道词典",
+ onClick: () => {
+ window.open(`https://www.youdao.com/result?word=${sentence.text}&lang=en`, '_blank')
+ }
+ },
]
});
}