From 1f5e02cddf93f6c37b6cf2885a235908f95c0b45 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Thu, 6 Mar 2025 07:26:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=84=E5=85=85=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/globalCmd/globalCmd.ts | 2 +- src/views/PreSpray.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/globalCmd/globalCmd.ts b/src/services/globalCmd/globalCmd.ts index c20fb32..73f06c5 100644 --- a/src/services/globalCmd/globalCmd.ts +++ b/src/services/globalCmd/globalCmd.ts @@ -92,7 +92,7 @@ export function startWash(params: { type: WashType }) { export function stopWash(params: Record) { return httpRequest({ url: "/api/cmd/stopWash", params, method: "POST" }); } -export function startPrefill(params: { speed: number }) { +export function startPrefill(params: { rotationSpeed: number }) { return httpRequest({ url: "/api/cmd/startPrefill", params: { params }, method: "POST" }); } export function stopPrefill(params: Record) { diff --git a/src/views/PreSpray.vue b/src/views/PreSpray.vue index ce4eb75..3dffc65 100644 --- a/src/views/PreSpray.vue +++ b/src/views/PreSpray.vue @@ -218,7 +218,7 @@ function onStartPrefill() { ElMessage.error("请输入预充速度"); return; } - startPrefill({ speed: prefillSpeed.value }).then(res => { + startPrefill({ rotationSpeed: prefillSpeed.value }).then(res => { if (res.success) { ElMessage.success("已经开始预充"); } else {