fix(接口测试): 修复csv预览只能看到499条数据的缺陷

--bug=1026412 --user=王孝刚 【接口测试】接口自动化场景变量上传csv预览只能看到499条
https://www.tapd.cn/55049933/s/1379083
This commit is contained in:
wxg0103 2023-06-06 11:27:01 +08:00 committed by fit2-zhao
parent 59e89a675c
commit ab13854ec2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;