Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
9547ad42b3
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      templates/repo/modelmanage/convertIndex.tmpl

+ 4
- 3
templates/repo/modelmanage/convertIndex.tmpl View File

@@ -234,7 +234,7 @@
$(".ui.dropdown.selection.search.width70").addClass("loading")
$('#choice_version').dropdown('clear')
$("#model-version").empty()
loadTrainVersion(value)
loadModelVersion(value)
}
})
})
@@ -253,10 +253,11 @@
$(".ui.dropdown.selection.search.width83").removeClass("loading")
$('#choice_model .default.text').text(nameList[0])
$('#choice_model input[name="ModelName"]').val(nameList[0])
loadTrainVersion(nameList[0])
loadModelVersion(nameList[0])
})
}
function loadTrainVersion(value){
function loadModelVersion(value){
console.log("value=" + value);
let nameMap = modelData.nameMap
let versionList = nameMap[value]
n_length = versionList.length


Loading…
Cancel
Save