From d966a78f36a4976bc42769500653dcc148ce94dd Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Mon, 14 Jan 2019 19:11:55 +0800 Subject: [PATCH] 金额 分处理成元 --- src/components/incomeOverview/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/incomeOverview/index.vue b/src/components/incomeOverview/index.vue index 28d3528..e552b3d 100644 --- a/src/components/incomeOverview/index.vue +++ b/src/components/incomeOverview/index.vue @@ -44,7 +44,7 @@ let data = response.data.data this.incomeTotal = data.totalPay //this.incomeTotal = common.formatNumToStr(this.incomeTotal) - this.incomeTotal = common.formatNumToStr(Math.round(this.incomeTotal)/100) + this.incomeTotal = common.formatNumToStr(Math.round(this.incomeTotal/100)) this.barChartOption.barColor[0].value = Math.round(data.aliPay/100) this.barChartOption.barColor[1].value = Math.round(data.wxPay/100) this.barChartOption.barColor[2].value = Math.round(data.otherPay/100) -- libgit2 0.21.4