From 125e305cd764cb6a6d2bc0c82355f1c6456f4522 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Wed, 21 May 2025 10:13:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(i18n):=20=E6=B7=BB=E5=8A=A0=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在微信小程序中,手动设置导航栏标题和tabbar文本以确保国际化生效。同时,在页面中添加了多语言测试的相关代码。 --- src/App.vue | 21 +++++++++++++++++++++ src/pages/about/about.vue | 11 +++++++++++ src/pages/about/i18n.vue | 3 +++ src/utils/index.ts | 1 + 4 files changed, 36 insertions(+) diff --git a/src/App.vue b/src/App.vue index d32c900..84d0caf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,30 @@