Skip to content

Commit

Permalink
fix mergeLocaleMessage change event related bug (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
phonezawphyo committed Jul 16, 2021
1 parent 7a3384b commit afedc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ export default class VueI18n {
}
this._vm.$set(this._vm.messages, locale, merge(
typeof this._vm.messages[locale] !== 'undefined' && Object.keys(this._vm.messages[locale]).length
? this._vm.messages[locale]
? Object.assign({}, this._vm.messages[locale])
: {},
message
))
Expand Down

0 comments on commit afedc76

Please sign in to comment.