From a65fcb63d1943db750cc67080a019e05aecdf535 Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 23 Jun 2022 11:17:47 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 61a34ae6b..69147ba63 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -377,10 +377,9 @@ var options=ele.options; var option = options[index]; console.log("SrcEngine value=" + option); - let destFormatHtml = ""; let netOutputFormatHtml = ""; - if(option.value == 0){ + if(option==null || option =="undefined" || option.value == 0){ destFormatHtml += "" netOutputFormatHtml += ""; }