chokiproai commited on
Commit
0ed80ee
1 Parent(s): 3424203

Upload helper.ts

Browse files
Files changed (1) hide show
  1. src/store/modules/app/helper.ts +2 -2
src/store/modules/app/helper.ts CHANGED
@@ -4,7 +4,7 @@ const LOCAL_NAME = 'appSetting'
4
 
5
  export type Theme = 'light' | 'dark' | 'auto'
6
 
7
- export type Language = 'zh-CN' | 'zh-TW' | 'en-US' | 'ko-KR' | 'ru-RU'
8
 
9
  export interface AppState {
10
  siderCollapsed: boolean
@@ -13,7 +13,7 @@ export interface AppState {
13
  }
14
 
15
  export function defaultSetting(): AppState {
16
- return { siderCollapsed: false, theme: 'light', language: 'zh-CN' }
17
  }
18
 
19
  export function getLocalSetting(): AppState {
 
4
 
5
  export type Theme = 'light' | 'dark' | 'auto'
6
 
7
+ export type Language = 'en-US' | 'vi-VN'
8
 
9
  export interface AppState {
10
  siderCollapsed: boolean
 
13
  }
14
 
15
  export function defaultSetting(): AppState {
16
+ return { siderCollapsed: false, theme: 'light', language: 'en-US' }
17
  }
18
 
19
  export function getLocalSetting(): AppState {