From 933a78fff8cf45af9f44f9925a31ff60067f7857 Mon Sep 17 00:00:00 2001 From: LiLongLong <13717757313@163.com> Date: Tue, 13 May 2025 10:23:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E6=A3=80=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/self.ts | 1 + src/app.vue | 2 +- src/components/check/index.vue | 63 ++++++++++++++++++++++++++++++++++++------ src/components/exit/index.vue | 2 +- src/layouts/default.vue | 25 ++++++++++++++++- 5 files changed, 82 insertions(+), 11 deletions(-) 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 @@