剔除 table 导出合计行的制表符,由外部模板自主控制添加
This commit is contained in:
parent
754b4b4521
commit
94179b00a7
@ -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(',');
|
||||
|
Loading…
Reference in New Issue
Block a user