From f27fdc330aee26c742d07d406f718b0accf75a5d Mon Sep 17 00:00:00 2001 From: guoapeng Date: Thu, 20 Mar 2025 19:14:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=B3=BB=E7=BB=9F=E7=8A=B6=E6=80=81bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/system.ts | 1 + src/components/home/Check/index.vue | 12 +++--------- src/views/main/index.vue | 5 +++-- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/apis/system.ts b/src/apis/system.ts index 6240542..2fde00a 100644 --- a/src/apis/system.ts +++ b/src/apis/system.ts @@ -11,3 +11,4 @@ export const control = (params: any) => http.post('/function', params) export const debugControl = (params: any) => http.post('/function/debug', params) export const getDeviceStatus = () => http.get('/device-status/') +export const getDeviceSelfTest = () => http.get('/device_self_test/') diff --git a/src/components/home/Check/index.vue b/src/components/home/Check/index.vue index e536f28..617db9e 100644 --- a/src/components/home/Check/index.vue +++ b/src/components/home/Check/index.vue @@ -1,4 +1,5 @@