mirror of
https://github.com/tenrok/vue2-datepicker.git
synced 2026-05-17 06:19:39 +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) {
|
||||
if (typeof name !== 'string') return locales[defaultLocale];
|
||||
let l;
|
||||
let l = defaultLocale;
|
||||
if (locales[name]) {
|
||||
l = name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user