Browse Source

Merge pull request '云脑2模型下载页面文件夹大小不展示0B' (#1185) from fix-838 into V20211228

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/1185
Reviewed-by: wangjr <wangjr@pcl.ac.cn>
tags/v1.21.12.2^2
zhoupzh 3 years ago
parent
commit
d221babf5d
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      templates/repo/modelarts/trainjob/show.tmpl

+ 6
- 1
templates/repo/modelarts/trainjob/show.tmpl View File

@@ -667,7 +667,12 @@ td, th {
html += "</span>"
html += "</td>"
html += "<td class='message seven wide'>"
html += "<span class='truncate has-emoji'>"+ `${dirs_size}` + "</span>"
if(data.Dirs[i].IsDir){
html += "<span class='truncate has-emoji'></span>"
}else{
html += "<span class='truncate has-emoji'>"+ `${dirs_size}` + "</span>"
}
html += "</td>"

html += "<td class='text right age three wide'>"


Loading…
Cancel
Save