wip
This commit is contained in:
@@ -46,7 +46,7 @@ export function getDefaultArticle(val: Partial<Article> = {}): Article {
|
||||
audioFileId: '',
|
||||
lrcPosition: [],
|
||||
questions: [],
|
||||
nameList:[],
|
||||
nameList: [],
|
||||
...cloneDeep(val)
|
||||
}
|
||||
}
|
||||
@@ -74,6 +74,7 @@ export function getDefaultDict(val: Partial<Dict> = {}): Dict {
|
||||
is_default: false,
|
||||
update: false,
|
||||
cover: '',
|
||||
sync: false,
|
||||
|
||||
...val,
|
||||
words: shallowReactive(val.words ?? []),
|
||||
|
||||
@@ -180,6 +180,7 @@ export interface Dict extends DictResource {
|
||||
is_default?: boolean
|
||||
update?: boolean
|
||||
cover?: string
|
||||
sync?: boolean
|
||||
}
|
||||
|
||||
export interface ArticleItem {
|
||||
|
||||
Reference in New Issue
Block a user