Skip to content

Commit

Permalink
use origin word to search
Browse files Browse the repository at this point in the history
  • Loading branch information
honwhy committed Apr 21, 2024
1 parent c9d6f7d commit 9434ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoints/SelectionPopper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ const appendElement = computed(() => {
function popupWordWebuiPopover(word: string) {
console.log('popupWordWebuiPopover', word)
// 词干提取,如:words -> word
const stemWord = stemmer(word)
// const stemWord = stemmer(word)
sendRequest({ action: 'getWordInfo', args: stemWord }).then((response) => {
sendRequest({ action: 'getWordInfo', args: word }).then((response) => {
if (!response)
return
const data = response as Response
Expand Down

0 comments on commit 9434ae7

Please sign in to comment.