fix(性能测试): --bug=1006063 --user=刘瑞斌 【性能测试-创建】引用接口场景中包含csv文件文件大小不现实单位,若文件未修改则指显示时钟标志不现实时间,建议若没有修改则删掉时钟标识 https://www.tapd.cn/55049933/s/1048599
This commit is contained in:
parent
38766d271c
commit
eba9393a6d
|
@ -204,9 +204,9 @@ export default {
|
|||
for (let fileID in apiTest.jmx.attachFiles) {
|
||||
attachFiles.push(fileID);
|
||||
}
|
||||
if (attachFiles.length > 0) {
|
||||
this.$refs.basicConfig.selectAttachFileById(attachFiles);
|
||||
}
|
||||
// if (attachFiles.length > 0) {
|
||||
// this.$refs.basicConfig.selectAttachFileById(attachFiles);
|
||||
// }
|
||||
}
|
||||
this.active = '1';
|
||||
this.$store.commit("clearTest");
|
||||
|
@ -234,9 +234,9 @@ export default {
|
|||
for (let fileID in item.attachFiles) {
|
||||
attachFiles.push(fileID);
|
||||
}
|
||||
if (attachFiles.length > 0) {
|
||||
this.$refs.basicConfig.selectAttachFileById(attachFiles);
|
||||
}
|
||||
// if (attachFiles.length > 0) {
|
||||
// this.$refs.basicConfig.selectAttachFileById(attachFiles);
|
||||
// }
|
||||
}
|
||||
this.$set(this.test, "apiList", relateApiList);
|
||||
});
|
||||
|
|
|
@ -150,7 +150,12 @@ export default {
|
|||
// csv 处理
|
||||
d.fileMetadataList?.forEach(f => {
|
||||
this.fileList.push(f);
|
||||
this.tableData.push(f);
|
||||
this.tableData.push({
|
||||
name: f.name,
|
||||
size: (f.size / 1024).toFixed(2) + ' KB',
|
||||
type: f.type,
|
||||
updateTime: f.updateTime,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<el-table-column
|
||||
:label="$t('load_test.last_modify_time')">
|
||||
<template v-slot:default="scope">
|
||||
<i class="el-icon-time"/>
|
||||
<i v-if="scope.row.updateTime > 0" class="el-icon-time"/>
|
||||
<span class="last-modified">{{ scope.row.updateTime | timestampFormatDate }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
Loading…
Reference in New Issue