From 9547ad42b39c02401fdfa1492bb80bb1396e596e Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 1 Jun 2022 10:38:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- templates/repo/modelmanage/convertIndex.tmpl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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