From ab13854ec2b65109bc2b02273d7478ab13174f8b Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 6 Jun 2023 11:27:01 +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=8Dcsv=E9=A2=84=E8=A7=88=E5=8F=AA=E8=83=BD?= =?UTF-8?q?=E7=9C=8B=E5=88=B0499=E6=9D=A1=E6=95=B0=E6=8D=AE=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1026412 --user=王孝刚 【接口测试】接口自动化场景变量上传csv预览只能看到499条 https://www.tapd.cn/55049933/s/1379083 --- .../src/business/automation/scenario/variable/EditCsv.vue | 2 +- .../src/components/environment/commons/variable/EditCsv.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api-test/frontend/src/business/automation/scenario/variable/EditCsv.vue b/api-test/frontend/src/business/automation/scenario/variable/EditCsv.vue index 3e7e2ac6b5..67c850b9d3 100644 --- a/api-test/frontend/src/business/automation/scenario/variable/EditCsv.vue +++ b/api-test/frontend/src/business/automation/scenario/variable/EditCsv.vue @@ -142,7 +142,7 @@ export default { this.previewData = []; }, step(results, parser) { - if (this.allData.length < 500) { + if (this.allData.length < 501) { this.allData.push(results.data); } else { this.showMessage = true; diff --git a/framework/sdk-parent/frontend/src/components/environment/commons/variable/EditCsv.vue b/framework/sdk-parent/frontend/src/components/environment/commons/variable/EditCsv.vue index 80dcf7e79b..3159a433af 100644 --- a/framework/sdk-parent/frontend/src/components/environment/commons/variable/EditCsv.vue +++ b/framework/sdk-parent/frontend/src/components/environment/commons/variable/EditCsv.vue @@ -138,7 +138,7 @@ export default { this.previewData = []; }, step(results, parser) { - if (this.allData.length < 500) { + if (this.allData.length < 501) { this.allData.push(results.data); } else { this.showMessage = true;