diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 0e03db71e..eb57f660a 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -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