diff --git a/templates/repo/modelarts/trainjob/show.tmpl b/templates/repo/modelarts/trainjob/show.tmpl
index 6a36ad287..700f7d66f 100755
--- a/templates/repo/modelarts/trainjob/show.tmpl
+++ b/templates/repo/modelarts/trainjob/show.tmpl
@@ -657,7 +657,7 @@ td, th {
}
}
- function downloadModelFile(version_name,parentDir,filename){
+ function downloadModelFile(version_name,filename){
$.get(`/api/v1/repos/${userName}/${repoPath}/modelarts/train-job/${jobID}/model_download?version_name=${version_name}&file_name=${filename}`, (data) => {
console.log(data)
@@ -680,10 +680,10 @@ td, th {
html += ""
html += ""
if(data.Dirs[i].IsDir){
- html += ``
+ html += ``
html += "" + data.Dirs[i].FileName + ""
}else{
- html += ``
+ html += ``
html += "" + data.Dirs[i].FileName + ""
}
html += ''