diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 418a0bbfa..61a34ae6b 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -249,15 +249,13 @@   
@@ -377,8 +375,17 @@ var ele = window.document.getElementById("SrcEngine"); var index=ele.selectedIndex; var options=ele.options; - var value = options[index]; - console.log("SrcEngine value=" + value); + var option = options[index]; + console.log("SrcEngine value=" + option); + + let destFormatHtml = ""; + let netOutputFormatHtml = ""; + if(option.value == 0){ + destFormatHtml += "" + netOutputFormatHtml += ""; + } + $('#DestFormat').html(destFormatHtml); + $('#NetOutputFormat').html(netOutputFormatHtml); } function loadModelList(){