From 7edf66cafb871c5fb28911dfb02611ef5c9910b2 Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期二, 06 二月 2024 17:05:49 +0800 Subject: [PATCH] 登录请求接口取消、设备切换图标和弹窗关闭按钮增大 --- src/stores/plc.ts | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stores/plc.ts b/src/stores/plc.ts index b42f370..83ff4cd 100644 --- a/src/stores/plc.ts +++ b/src/stores/plc.ts @@ -27,8 +27,8 @@ } = useRequest( () => getProductProgress({ - channel: taskStore.activeTask?.Channel, - procedureId: taskStore.activeTask?.Procedure.ID + channel: taskStore.activeChannel ?? 0, + procedureId: taskStore.activeTask?.Procedure.ID ?? undefined } as ProductProgressParams), { manual: true, @@ -42,7 +42,7 @@ * 濡傛灉鍒囨崲鍒板叾浠栭�氶亾鐨勪换鍔�,鍒欓噸鏂拌疆璇lc */ unwatch.value = watch( - () => taskStore.activeTask?.Channel, + () => taskStore.activeChannel, () => { cancelPLCPolling() startPLCPolling() -- Gitblit v1.8.0