Allow yourself to add favorite words and articles for practice

This commit is contained in:
zyronon
2023-12-04 16:02:32 +08:00
parent d0e74ebaff
commit 747a0dcea4
11 changed files with 241 additions and 237 deletions

View File

@@ -46,9 +46,7 @@ export enum DictType {
simple = 'simple',
wrong = 'wrong',
word = 'word',
customWord = 'customWord',
article = 'article',
customArticle = 'customArticle'
}
export const DefaultArticleWord: ArticleWord = {
@@ -227,7 +225,7 @@ export const DefaultDict: Dict = {
wordIndex: 0,//单词下标
articles: [],
statistics: [],
isCustom: false,
isCustom: true,
length: 0,
/*资源属性*/
resourceId: '',
@@ -235,7 +233,7 @@ export const DefaultDict: Dict = {
category: '',
tags: [],
translateLanguage: 'common',
type: DictType.customWord,
type: DictType.word,
language: 'en',
}