International新增adsplay_API(id99); 表格缺失单元格显示0; huya待id后补

This commit is contained in:
2026-09-14 16:27:16 +08:00
parent fb7deeac12
commit 30bca2e142
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ function renderAccTable(tblId, rowsData, totalKey){
var body='';
rows.forEach(function(r){
body+='<tr><td>'+r.dt+'</td><td class="pos">'+n2(r[totalKey])+'</td>';
accs.forEach(function(a){ body+='<td>'+n2(r[a])+'</td>'; });
accs.forEach(function(a){ body+='<td>'+n2(r[a]!=null?r[a]:0)+'</td>'; }); // 缺失/找不到显示0
body+='</tr>';
});
document.querySelector('#'+tblId+' tbody').innerHTML=body;