From 8837c26b0a0c19e872d8251fad0bafe2f149ef61 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期日, 28 四月 2024 10:50:52 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master

---
 src/components/view/b4-daily-business-statistics.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/view/b4-daily-business-statistics.vue b/src/components/view/b4-daily-business-statistics.vue
index 01a9951..594e47f 100644
--- a/src/components/view/b4-daily-business-statistics.vue
+++ b/src/components/view/b4-daily-business-statistics.vue
@@ -161,7 +161,8 @@
         if (res.code == 201) return
         this.pageData = this.HaveJson(res.data)
         let xData = res.data.DAYS.map(m=>{
-          return `${m[1]}-${m[2]}`
+          let arr = m.split('-')
+          return `${arr[1]}-${arr[2]}`
         })
         this.chartData0.xData = xData
         this.chartData1.xData = xData

--
Gitblit v1.9.3