diff --git a/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue index 646f1b4..5515638 100644 --- a/src/views/dashboard/PanelGroup.vue +++ b/src/views/dashboard/PanelGroup.vue @@ -184,6 +184,7 @@ export default { todayLoginNum, todayLoginDiffLast, anchorNum, + anchorNumDiffLast, todayRechargeAmountNum, todayRechargeNum, todayRechargeAmountDiffLast, @@ -196,6 +197,8 @@ export default { this.loginModel.trendNum = todayLoginDiffLast this.topUpModel.count = anchorNum // 主播人数 + this.topUpModel.trendDirection = anchorNumDiffLast >= 0 ? 0 : 1; // 增加还是减少 + this.topUpModel.trendNum = anchorNumDiffLast this.withdrawDepositModel.count = todayRechargeAmountNum // 充值金额 this.withdrawDepositModel.money = todayRechargeNum