save
This commit is contained in:
@@ -35,7 +35,7 @@ export function getDefaultArticleWord(val: Partial<ArticleWord> = {}): ArticleWo
|
||||
|
||||
export function getDefaultArticle(val: Partial<Article> = {}): Article {
|
||||
return {
|
||||
id: '',
|
||||
id: null,
|
||||
title: '',
|
||||
titleTranslate: '',
|
||||
text: '',
|
||||
|
||||
@@ -66,7 +66,7 @@ export interface Sentence {
|
||||
}
|
||||
|
||||
export interface Article {
|
||||
id: string,
|
||||
id?: number,
|
||||
title: string,
|
||||
titleTranslate: string,
|
||||
text: string,
|
||||
@@ -150,6 +150,7 @@ export type DictResource = {
|
||||
name: string
|
||||
description: string
|
||||
url: string
|
||||
en_name?: string
|
||||
length: number
|
||||
category: string
|
||||
tags: string[]
|
||||
|
||||
Reference in New Issue
Block a user