From 66763e0e6a3d6698b51999e20bef58b619e12739 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Fri, 13 May 2022 11:56:39 +0800 Subject: [PATCH] =?UTF-8?q?app=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main_page.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main_page.dart b/lib/main_page.dart index 2fb43dbb..27dd569c 100644 --- a/lib/main_page.dart +++ b/lib/main_page.dart @@ -337,6 +337,8 @@ class _MainPage extends State with WidgetsBindingObserver { PackageInfo packageInfo = await PackageInfo.fromPlatform(); BaseData baseData = await apiService.appVersion().catchError((onError) {}); if (baseData != null && baseData.isSuccess) { + baseData.data.appLastVersion = "1.0.4"; + baseData.data.appLastVersionUp = "1.0.1"; if(AppUtils.versionCompare(packageInfo.version,baseData.data?.appLastVersion) && AppUtils.versionCompare(value.getString("appLastVersion")??"1.0.0",baseData.data?.appLastVersion)){ showDialog(