We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13edb74 commit 6a5baf7Copy full SHA for 6a5baf7
packages/vue-i18n-core/src/composer.ts
@@ -2110,17 +2110,17 @@ export function createComposer(options: any = {}): any {
2110
const locale = computed({
2111
get: () => _locale.value,
2112
set: val => {
2113
+ _context.locale = val
2114
_locale.value = val
- _context.locale = _locale.value
2115
}
2116
})
2117
2118
// fallbackLocale
2119
const fallbackLocale = computed({
2120
get: () => _fallbackLocale.value,
2121
2122
+ _context.fallbackLocale = val
2123
_fallbackLocale.value = val
- _context.fallbackLocale = _fallbackLocale.value
2124
updateFallbackLocale(_context, _locale.value, val)
2125
2126
0 commit comments