From c247d6c43da6cb8a4046d1440310a518f171da4d Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 23 Jun 2022 11:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0TRT=E8=BD=AC=E6=8D=A2=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E6=94=AF=E6=8C=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 | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) 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(){