fix(接口测试): 修复csv预览只能看到499条数据的缺陷
--bug=1026412 --user=王孝刚 【接口测试】接口自动化场景变量上传csv预览只能看到499条 https://www.tapd.cn/55049933/s/1379083
This commit is contained in:
parent
59e89a675c
commit
ab13854ec2
|
@ -142,7 +142,7 @@ export default {
|
||||||
this.previewData = [];
|
this.previewData = [];
|
||||||
},
|
},
|
||||||
step(results, parser) {
|
step(results, parser) {
|
||||||
if (this.allData.length < 500) {
|
if (this.allData.length < 501) {
|
||||||
this.allData.push(results.data);
|
this.allData.push(results.data);
|
||||||
} else {
|
} else {
|
||||||
this.showMessage = true;
|
this.showMessage = true;
|
||||||
|
|
|
@ -138,7 +138,7 @@ export default {
|
||||||
this.previewData = [];
|
this.previewData = [];
|
||||||
},
|
},
|
||||||
step(results, parser) {
|
step(results, parser) {
|
||||||
if (this.allData.length < 500) {
|
if (this.allData.length < 501) {
|
||||||
this.allData.push(results.data);
|
this.allData.push(results.data);
|
||||||
} else {
|
} else {
|
||||||
this.showMessage = true;
|
this.showMessage = true;
|
||||||
|
|
Loading…
Reference in New Issue