From 075f689751afba10211199380536258ddfc8d33e Mon Sep 17 00:00:00 2001 From: guoapeng Date: Mon, 12 May 2025 09:01:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=98=E7=9B=98=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/home.ts | 2 ++ src/views/home/index.vue | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/src/apis/home.ts b/src/apis/home.ts index 8cadf90..64e029d 100644 --- a/src/apis/home.ts +++ b/src/apis/home.ts @@ -1,3 +1,5 @@ import http from 'libs/http' export const setTargetTemperature = (params: Home.SetTargetTemperatureParams): Promise => http.post('/heat/target-temperature', params) +export const trayIn = (): Promise => http.post('/tray/in') +export const trayOut = (): Promise => http.post('/tray/out') diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 087bf64..21e838a 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,10 +1,12 @@