From fded67571ef0fec8ef23c0287a59be220cc20839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AD=90=E8=B4=A4?= Date: Thu, 18 Dec 2025 16:51:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4local?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index 41199c0..4f2b952 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -89,7 +89,7 @@ void main() async { runApp( GetMaterialApp( - locale: Get.locale, // 使用GetX的locale + locale: Locale('zh', 'CN'), // 使用GetX的locale supportedLocales: const [Locale('zh', 'CN')], /// 国际化配置 代理