refactor(接口测试): 优化csv预览功能

--bug=1011052 --user=赵勇 【易保,企业客户】场景变量CSV,相关问题汇总 https://www.tapd.cn/55049933/s/1117938
This commit is contained in:
fit2-zhao 2022-03-15 14:26:02 +08:00 committed by xiaomeinvG
parent 41686defa9
commit db1df5b8eb
4 changed files with 4 additions and 4 deletions

View File

@ -125,7 +125,7 @@
this.loading = false; this.loading = false;
}, },
step(results, parser) { step(results, parser) {
if(this.allData.length < 2000) { if(this.allData.length < 500) {
this.allData.push(results.data); this.allData.push(results.data);
}else{ }else{
this.showMessage = true; this.showMessage = true;

View File

@ -2603,7 +2603,7 @@ export default {
}, },
variables: { variables: {
ƒ: "Only CSV files can be uploaded", ƒ: "Only CSV files can be uploaded",
csv_message: "2000 items are displayed by default, and the complete content can be downloaded and viewed.", csv_message: "500 items are displayed by default, and the complete content can be downloaded and viewed.",
end: "end", end: "end",
start: "start", start: "start",
increment: "increment", increment: "increment",

View File

@ -2606,7 +2606,7 @@ export default {
}, },
variables: { variables: {
cvs_info: "只能上传CSV文件", cvs_info: "只能上传CSV文件",
csv_message: "默认展示2000条完整的内容可点击下载查看。", csv_message: "默认展示500条完整的内容可点击下载查看。",
end: "结束", end: "结束",
start: "开始", start: "开始",
increment: "增量", increment: "增量",

View File

@ -2605,7 +2605,7 @@ export default {
}, },
variables: { variables: {
cvs_info: "只能上傳CSV文件", cvs_info: "只能上傳CSV文件",
csv_message: "默認展示2000條完整的內容可點擊下載查看。", csv_message: "默認展示500條完整的內容可點擊下載查看。",
end: "結束", end: "結束",
start: "開始", start: "開始",
increment: "增量", increment: "增量",