mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-06-22 00:30:36 +03:00
chore: mini fix
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ locales[defaultLocale] = enUS;
|
|||||||
|
|
||||||
export function locale(name, object, isLocal) {
|
export function locale(name, object, isLocal) {
|
||||||
if (typeof name !== 'string') return locales[defaultLocale];
|
if (typeof name !== 'string') return locales[defaultLocale];
|
||||||
let l;
|
let l = defaultLocale;
|
||||||
if (locales[name]) {
|
if (locales[name]) {
|
||||||
l = name;
|
l = name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user