From f77256840020014cf74b3129063914546f992a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=90=8C=E5=AD=A6?= Date: Thu, 23 Oct 2025 09:10:04 +0800 Subject: [PATCH] =?UTF-8?q?UPDATE:=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/machine/device/components/monitorPopup.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/machine/device/components/monitorPopup.vue b/frontend/src/views/machine/device/components/monitorPopup.vue index a11c034..54ec58b 100644 --- a/frontend/src/views/machine/device/components/monitorPopup.vue +++ b/frontend/src/views/machine/device/components/monitorPopup.vue @@ -336,6 +336,9 @@ const save = () => { }) } } + if (!ptErrorTips && !ctErrorTips) { + sendParameter() + } } }) } catch (err) { @@ -352,7 +355,6 @@ const sendParameter = () => { } // 打开弹窗,可能是新增,也可能是编辑 const open = async (sign: string, data: Monitor.ResPqMon, device: Device.ResPqDev, table: any[], options: any) => { - selectOptions.value = options titleType.value = sign dialogVisible.value = true @@ -397,7 +399,7 @@ const open = async (sign: string, data: Monitor.ResPqMon, device: Device.ResPqDe dialogFormRef.value?.resetFields() resetFormContent() originalNum.value = null - // 清空PT和CT的临时变量 + // 清空PT和CT的临时变量 ptPrimary.value = '' ptSecondary.value = '' ctPrimary.value = ''