From da38eff56d0e565e6d49b5189f6e75c1cc793e00 Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Tue, 17 Jan 2023 13:41:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=AB=99=E7=82=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=8A=A0=E8=BD=BD=E5=87=BA=E9=94=99=E7=9A=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/welcome_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/welcome_page.dart b/lib/pages/welcome_page.dart index c1f25f1..4bc56ad 100644 --- a/lib/pages/welcome_page.dart +++ b/lib/pages/welcome_page.dart @@ -39,7 +39,8 @@ class WelcomePageController extends GetxController { ), ); } catch (err, stack) { - alert(Get.overlayContext!, ErrorUtils.getErrorMessage(err), title: "错误"); + // ignore: prefer_interpolation_to_compose_strings + alert(Get.overlayContext!, "无法加载站点配置:" + ErrorUtils.getErrorMessage(err), title: "错误"); if (kDebugMode) { print("Exception in logout: $err"); stack.printError();