From a9285b066638090f001b18a0d939355be268573d Mon Sep 17 00:00:00 2001 From: fangxiang Date: Wed, 22 Jun 2022 15:34:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BD=AE=E8=AF=A2=E3=80=81?= =?UTF-8?q?=E9=A2=84=E6=A1=88=E5=BB=B6=E6=97=B6=E4=BD=8E=E4=BA=8E=E6=9C=80?= =?UTF-8?q?=E4=BD=8E=E5=BB=B6=E6=97=B6=E6=97=B6=E4=BE=9D=E7=84=B6=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E8=AE=BE=E7=BD=AE=E6=88=90=E5=8A=9F=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PlanDialog.vue | 11 +++++++++-- src/components/PollingSettingDialog.vue | 5 ++++- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/PlanDialog.vue b/src/components/PlanDialog.vue index 6f86005..682509c 100644 --- a/src/components/PlanDialog.vue +++ b/src/components/PlanDialog.vue @@ -475,9 +475,13 @@ export default defineComponent({ key: "operator_call_mode", value: item.uuid, }); + __datas.push({ key: "param_delay", - value: item.delay.toString(), + value: + item.delay < __MIN_DELAY + ? __MIN_DELAY.toString() + : item.delay.toString(), }); } } @@ -526,7 +530,10 @@ export default defineComponent({ }); __datas.push({ key: "param_delay", - value: item.delay.toString(), + value: + item.delay < __MIN_DELAY + ? __MIN_DELAY.toString() + : item.delay.toString(), }); } } diff --git a/src/components/PollingSettingDialog.vue b/src/components/PollingSettingDialog.vue index fc16e7d..684fb45 100644 --- a/src/components/PollingSettingDialog.vue +++ b/src/components/PollingSettingDialog.vue @@ -398,7 +398,10 @@ export default defineComponent({ }); __datas.push({ key: "param_delay", - value: item.delay.toString(), + value: + item.delay < __MIN_DELAY + ? __MIN_DELAY.toString() + : item.delay.toString(), }); } }