fix(性能测试): 修复导入资源文件没有上传的bug

This commit is contained in:
Captain.B 2021-03-08 13:14:13 +08:00
parent 5e98f32617
commit d634f9d540
2 changed files with 8 additions and 2 deletions

View File

@ -121,7 +121,13 @@ export default {
if (this.loadType === 'resource') { if (this.loadType === 'resource') {
rows.forEach(row => { rows.forEach(row => {
this.tableData.push(row); this.fileList.push(row);
this.tableData.push({
name: row.name,
size: (row.size / 1024).toFixed(2) + ' KB',
type: 'JMX',
updateTime: row.lastModified,
});
}) })
this.$success(this.$t('test_track.case.import.success')); this.$success(this.$t('test_track.case.import.success'));
this.loadFileVisible = false; this.loadFileVisible = false;

@ -1 +1 @@
Subproject commit ef5067d0de3ed940a5d31485f6370f201818dc3a Subproject commit e4422e1dc640704febfbf469185cd85b78d2147a