feat: add login page ip detect (#2819)

* feat: add login page ip detect

* code perf
This commit is contained in:
papapatrick
2024-09-27 13:39:10 +08:00
committed by GitHub
parent efcb53cd6d
commit 691476c821
11 changed files with 255 additions and 45 deletions

View File

@@ -7,12 +7,14 @@ export enum LangEnum {
}
export const langMap = {
[LangEnum.en]: {
label: 'English',
icon: 'common/language/en'
label: 'English(US)',
icon: 'common/language/en',
avatar: 'common/language/America'
},
[LangEnum.zh]: {
label: '简体中文',
icon: 'common/language/zh'
icon: 'common/language/zh',
avatar: 'common/language/China'
}
};