diff --git a/src/apis/self.ts b/src/apis/self.ts index e0f7196..0d44836 100644 --- a/src/apis/self.ts +++ b/src/apis/self.ts @@ -1,3 +1,4 @@ import http from 'libs/http' export const getSelfStatus = (): Promise> => http.get('/self-test/status') +export const getSelfFinish = (): Promise> => http.post('/self-test/finish') diff --git a/src/app.vue b/src/app.vue index 096fda3..1feb441 100644 --- a/src/app.vue +++ b/src/app.vue @@ -8,7 +8,7 @@ const systemStore = useSystemStore() onMounted(async () => { const res = await getStatus() console.log(res) - systemStore.updateSystemStatus(res) + // systemStore.updateSystemStatus(res) startProgress() }) diff --git a/src/components/check/index.vue b/src/components/check/index.vue index 2e77d27..b8e8985 100644 --- a/src/components/check/index.vue +++ b/src/components/check/index.vue @@ -1,6 +1,7 @@