From 7aada77339c0ce9e4e81593c044a8dca675f3ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=93=88=E5=93=88=E5=93=88?= Date: Wed, 24 Aug 2022 16:07:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=84=89=E9=8C=A2=E5=8C=85=EF=BC=8CUI?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/mine/mine_wallet_page.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mine/mine_wallet_page.dart b/lib/mine/mine_wallet_page.dart index aeb6eca8..1d8e0351 100644 --- a/lib/mine/mine_wallet_page.dart +++ b/lib/mine/mine_wallet_page.dart @@ -60,6 +60,7 @@ class _MineWalletPage extends State { _onRefresh() { current = 1; loadBillInfo(); + queryUserBalance(); } queryUserBalance() async { @@ -68,6 +69,9 @@ class _MineWalletPage extends State { if (baseData != null && baseData.isSuccess) { userInfo = baseData.data; mBalance = double.tryParse(userInfo.money); + mgreenMoney = double.tryParse(userInfo.greenMoney); + tBalance = double.tryParse(userInfo.balance ?? "0"); + activityMoney = double.tryParse(userInfo.activityMoney); if (mounted) setState(() {}); } }