From 03b4dcde158a117820aa5dc5a074c117de9cc75e Mon Sep 17 00:00:00 2001 From: ruibaby Date: Fri, 3 May 2019 23:53:08 +0800 Subject: [PATCH] Fixed style error. --- src/api/admin.js | 7 +++ src/views/dashboard/Dashboard.vue | 29 +++++++--- .../dashboard/components/AnalysisCard.vue | 57 ++++++++++++++----- src/views/system/About.vue | 19 ++++++- 4 files changed, 89 insertions(+), 23 deletions(-) diff --git a/src/api/admin.js b/src/api/admin.js index c9b9316a..e1f02f0d 100644 --- a/src/api/admin.js +++ b/src/api/admin.js @@ -11,6 +11,13 @@ adminApi.counts = () => { }) } +adminApi.environments = () => { + return service({ + url: `${baseUrl}/environments`, + method: 'get' + }) +} + adminApi.install = data => { return service({ url: `${baseUrl}/installations`, diff --git a/src/views/dashboard/Dashboard.vue b/src/views/dashboard/Dashboard.vue index 9e1304e9..8292ebcd 100644 --- a/src/views/dashboard/Dashboard.vue +++ b/src/views/dashboard/Dashboard.vue @@ -1,19 +1,22 @@