Skip to content

Commit

Permalink
Fixed dictionary count display error
Browse files Browse the repository at this point in the history
  • Loading branch information
zyronon committed Dec 7, 2023
1 parent 297c556 commit 6e9c1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/list/DictItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const emit = defineEmits<{
}>()
let length = $computed(() => {
let isWord = props.dict.type === DictType.word
let isWord = [DictType.word,DictType.collect,DictType.simple,DictType.wrong].includes(props.dict.type)
let len: any = ''
if (props.dict.length) {
len = props.dict.length
Expand Down

0 comments on commit 6e9c1a5

Please sign in to comment.