Skip to content

Commit

Permalink
⚡ improvement(asset): update locale reactivity setting
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Feb 16, 2017
1 parent 94769ab commit b42fd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asset.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down

0 comments on commit b42fd9a

Please sign in to comment.