mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 22:49:26 +08:00
fix: set default value for locale
This commit is contained in:
parent
6bf52c2eef
commit
be5fd133ef
@ -125,7 +125,7 @@ export class Auth {
|
|||||||
* use {@link Auth#locale} instead
|
* use {@link Auth#locale} instead
|
||||||
*/
|
*/
|
||||||
getLocale() {
|
getLocale() {
|
||||||
return this.getOption('locale');
|
return this.getOption('locale') || 'en-US';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user