From 94c5ddb903a69648bc2675082002a09261e34c8a Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 25 May 2022 13:41:51 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E6=96=AD=E8=A8=80=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=80=89=E6=8B=A9=E5=93=8D=E5=BA=94=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=B8=8B=E8=B0=83=E6=8C=89=E9=92=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9B=B8=E5=BA=94=E6=97=B6=E9=97=B4=E4=B8=BA0?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=EF=BC=9A=E6=A0=BC=E5=BC=8F=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1013446 --user=王孝刚 【接口测试】场景断言-类型选择响应时间-点击下调按钮显示相应时间为0-提示:格式错误 https://www.tapd.cn/55049933/s/1163541 --- .../components/assertion/ApiAssertionDuration.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionDuration.vue b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionDuration.vue index 6ebd13a881..fb42c8ba88 100644 --- a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionDuration.vue +++ b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionDuration.vue @@ -2,8 +2,10 @@
- + @@ -55,7 +57,7 @@ export default { this.$emit('input', value); }, validate() { - if (this.value == '' || Number(this.value) <= 0) { + if (this.value === '' || Number(this.value) < 0) { this.$error(this.$t('commons.formatErr')); return false; }