From ac236551ce5a3a33f1abcc31a195783c59745feb Mon Sep 17 00:00:00 2001 From: zhangyu Date: Fri, 23 Jul 2021 09:49:37 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=20=E5=A4=84=E7=90=86=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=9C=B0=E5=9B=BE=20=E5=9C=86=E7=82=B9=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/page/dashboard/overview/overview.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview.vue b/nezha-fronted/src/components/page/dashboard/overview/overview.vue index 89e3a18b5..3714c9807 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview.vue @@ -779,7 +779,7 @@ export default { const requests = [axios.get('dc?pageSize=-1'), axios.get('/stat/overview/map')] axios.all(requests).then(result => { const dcInfos = result[0].data.data.list - const dcStats = result[1].data.data.list + const dcStats = result[1].data.data.list.filter(dc => dc.asset) dcStats.sort((a, b) => { return a.asset.total - b.asset.total })