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(() {}); } }