From b6d56982c4ea6d72cfb6db9ae2e38e036b800df1 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 19 Aug 2024 11:19:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=A1=A8=E6=A0=BC=E6=96=B0=E5=A2=9E=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=A9=BA=E8=A1=8C=E5=88=A4=E5=AE=9A=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/api-test/components/paramTable.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/frontend/src/views/api-test/components/paramTable.vue b/frontend/src/views/api-test/components/paramTable.vue index 72df372199..ec4dba0072 100644 --- a/frontend/src/views/api-test/components/paramTable.vue +++ b/frontend/src/views/api-test/components/paramTable.vue @@ -930,12 +930,11 @@ }); const { lastDataIsDefault } = filterKeyValParams(arr, defaultLineData.value, false); if ( - !lastDataIsDefault || - (hasNoIdItem && - !props.disabledExceptParam && - !props.disabledParamValue && - !lastDataIsDefault && - !props.isTreeTable) + hasNoIdItem && + !props.disabledExceptParam && + !props.disabledParamValue && + !lastDataIsDefault && + !props.isTreeTable ) { addTableLine(arr.length - 1, false, true); }