diff --git a/templates/repo/modelmanage/index.tmpl b/templates/repo/modelmanage/index.tmpl index ffe8770a7..e414dbcd9 100644 --- a/templates/repo/modelmanage/index.tmpl +++ b/templates/repo/modelmanage/index.tmpl @@ -414,6 +414,7 @@ }) } function loadTrainVersion(value) { + let tmp = $('#choice_model input[name="jobId"]').val(); let jobId = !value ? $('#choice_model input[name="jobId"]').val() : value $.get(`${repolink}/modelmanage/query_train_job_version?jobId=${jobId}`, (data) => { const n_length = data.length diff --git a/templates/repo/modelmanage/showinfo.tmpl b/templates/repo/modelmanage/showinfo.tmpl index 958032620..70e354dd4 100644 --- a/templates/repo/modelmanage/showinfo.tmpl +++ b/templates/repo/modelmanage/showinfo.tmpl @@ -297,7 +297,7 @@ function transObj(data){ Precision:modelAcc.Precision || '--', Recall: modelAcc.Recall || '--' } - return [initObj,initModelAcc,ID] + return [initObj,initModelAcc,id] } function transTime(time){