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