剔除 table 导出合计行的制表符,由外部模板自主控制添加

This commit is contained in:
贤心 2023-06-15 12:10:02 +08:00
parent 754b4b4521
commit 94179b00a7

View File

@ -2783,7 +2783,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
// 表合计
thatTable && layui.each(thatTable.dataTotal, function(i, o){
fieldsIsHide[o.field] || dataTotal.push(o.total + '\t');
fieldsIsHide[o.field] || dataTotal.push(o.total);
});
return dataTitle.join(',') + '\r\n' + dataMain.join('\r\n') + '\r\n' + dataTotal.join(',');