From 2410811b971cf026d8f9997aadb06aa9bd8f5562 Mon Sep 17 00:00:00 2001 From: chaosBreaking Date: Sun, 8 Sep 2019 23:05:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=80=BB=E6=94=B6=E7=9B=8Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/fund/fund.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/fund/fund.controller.js b/src/modules/fund/fund.controller.js index 0359bc3..a9e31a7 100644 --- a/src/modules/fund/fund.controller.js +++ b/src/modules/fund/fund.controller.js @@ -235,7 +235,7 @@ module.exports = { basic: { activeFund, revenueLastday, - revenueAll: fund.fundSum || 0 + revenueAll: fund.asset && fund.asset['vic'] } } }); @@ -257,7 +257,7 @@ module.exports = { basic: { activeFund, revenueLastday, - revenueAll: newFund.fundSum + revenueAll: newFund.asset['vic'] } } });