From 32d6f78e329882ccbfe515774a5fdf07b17b6e84 Mon Sep 17 00:00:00 2001 From: wyl86 Date: Wed, 26 Jun 2024 22:34:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20=E4=BF=AE=E5=A4=8D=E7=BD=91?= =?UTF-8?q?=E9=A1=B5i18n=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locale/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/locale/index.ts b/src/locale/index.ts index 5490dcd..68efde9 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -11,6 +11,7 @@ const messages = { const i18n = createI18n({ locale: uni.getLocale(), // 获取已设置的语言,fallback 语言需要再 manifest.config.ts 中设置 messages, + allowComposition: true, }) console.log(uni.getLocale())