diff --git a/src/api/admin.js b/src/api/admin.js index 7b9ef67b..d3370218 100644 --- a/src/api/admin.js +++ b/src/api/admin.js @@ -12,6 +12,13 @@ adminApi.counts = () => { }) } +adminApi.isInstalled = () => { + return service({ + url: `${baseUrl}/is_installed`, + method: 'get' + }) +} + adminApi.environments = () => { return service({ url: `${baseUrl}/environments`, diff --git a/src/views/system/Installation.vue b/src/views/system/Installation.vue index 0f906dcf..5cc85e26 100644 --- a/src/views/system/Installation.vue +++ b/src/views/system/Installation.vue @@ -1,10 +1,10 @@