fix(性能测试): 测试文件大小用kb计算

Closes #852
This commit is contained in:
Captain.B 2020-12-28 13:43:40 +08:00
parent 79d34a1825
commit 0a72802884
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export default {
this.fileList = JSON.parse(JSON.stringify(files));
this.tableData = JSON.parse(JSON.stringify(files));
this.tableData.map(f => {
f.size = f.size + ' Bytes';
f.size = (f.size / 1024).toFixed(2) + ' KB';
});
})
},