2
0
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:
mengxiong10
2019-11-14 18:47:52 +08:00
parent 6d2920b30a
commit 74a01cbe7d
+1 -1
View File
@@ -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;
}