Skip to content

Commit a53335f

Browse files
committed
优化未返回模型(undefined)的提示信息
1 parent 453f428 commit a53335f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,11 +735,12 @@ <h3>(适配 oneapi/newapi 等中转格式)</h3>
735735
});
736736

737737
results.inconsistent.forEach(function (r) {
738+
738739
content += '<tr>' +
739740
'<td class="td1 td1-no" >模型不一致/映射,tnnd掺假?</td>' +
740741
'<td class="td2"><span class="copy-btn2"" onclick="copyText(\'' + r.model + '\')">' + r.model + '</span></td>' +
741742
'<td class="td3">' + r.responseTime.toFixed(2) + '</td>' +
742-
'<td class="td4">返回模型: ' + r.returnedModel + '</td>' +
743+
'<td class="td4">' + (r.returnedModel ? '返回模型: ' + r.returnedModel : '该接口未返回模型名称') + '</td>' +
743744
'</tr>';
744745
});
745746

0 commit comments

Comments
 (0)