core: fix lang preferences when changed lang list

This commit is contained in:
undefined committed 2021-03-10 22:02:44 +08:00
1 parent 391eb96b22
commit e7780c56bb
7 files changed
+29 -40

No files matched your search

+3 -7
View File
@@ -48,6 +48,7 @@ export interface Setting {
range: [string, string][] | Record<string, string>,
value: any,
type: string,
subType?: string,
name: string,
desc: string,
flag: number,
@@ -180,19 +181,14 @@ declare module './model/problem' {
nSubmit: number,
nAccept: number,
tag: string[],
/** @deprecated */
category?: string[],
data: FileInfo[],
additional_file: FileInfo[],
hidden: boolean,
acMsg?: string,
html?: boolean,
difficulty?: number,
difficultyAlgo?: number,
difficultyAdmin?: number,
difficultySetting?: any,
/** @deprecated */
category?: string[],
/** @deprecated */
config: any,
}