From dd50896883ef3437b5267deaf2363fab7b523f82 Mon Sep 17 00:00:00 2001 From: Pone Z Pyo Date: Fri, 16 Jul 2021 18:48:17 +0900 Subject: [PATCH] fix mergeLocaleMessage change event related bug --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index a23cd3e41..6b83e44e8 100644 --- a/src/index.js +++ b/src/index.js @@ -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 ))