feat:Environment add locale

This commit is contained in:
pengfei.zhou
2021-07-06 17:35:56 +08:00
committed by osborn
parent 666998d3a6
commit 70bde4fba9
5 changed files with 42 additions and 13 deletions

View File

@@ -75,6 +75,17 @@ declare global {
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string,
/**
* The language code for current locale
*/
localeLanguage: string
/**
* The country/region code for current locale
*/
localeCountry: string
[index: string]: number | string | boolean | object | undefined
}