From 37b52f60dbfc2631f233b607c71642544fa71b95 Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 23 Jun 2022 10:48:25 +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 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 9a6dcf936..9111017b7 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -229,7 +229,7 @@
   -
@@ -371,12 +371,13 @@ } }) - $('#SrcEngine').dropdown({ - onChange:function(value){ - console.log("SrcEngine value=" + value); - } - }) }) + + function srcEngineChanged(){ + var index=window.document.getElementById("SrcEngine").selectedIndex; + var val=window.document.getElementById("SrcEngine").options[index].value; + console.log("SrcEngine value=" + val); + } function loadModelList(){ $.get(`${repolink}/modelmanage/query_model_for_predict?repoId=${repoId}`, (data) => {