Commit 39fdac48 authored by wanli's avatar wanli

feat: 前端增加解压后文件大小字段

parent 2a306825
...@@ -62,6 +62,11 @@ ...@@ -62,6 +62,11 @@
label="应用大小" label="应用大小"
width="120" width="120"
></el-table-column> ></el-table-column>
<el-table-column
prop="file_length"
label="解压后大小"
width="120"
></el-table-column>
<el-table-column <el-table-column
prop="app_desc" prop="app_desc"
label="应用描述" label="应用描述"
...@@ -309,6 +314,13 @@ export default { ...@@ -309,6 +314,13 @@ export default {
(item.app_build_log.app_info.buff_length / 1024).toFixed(2) + (item.app_build_log.app_info.buff_length / 1024).toFixed(2) +
"KB"; "KB";
else item.epk_size = ""; else item.epk_size = "";
if (item.app_build_log && item.app_build_log.app_info)
item.file_length =
(item.app_build_log.app_info.fileLength / 1024).toFixed(2) +
"KB";
else item.file_length = ""
return item; return item;
}); });
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment