diff --git a/src/asset.js b/src/asset.js index 5de189c3c..0e98ded1a 100644 --- a/src/asset.js +++ b/src/asset.js @@ -19,7 +19,7 @@ export default function (Vue, langVM) { } else { setLocale(id, definition, locale => { if (locale) { - langVM.locales[id] = locale + langVM.$set(langVM.locales, id, locale) } else { warn('failed set `' + id + '` locale') }