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 += ""; }