1、在导出时遇到导出后的数据变科学计数,导致数据不准确,在field中返回数据时,使用templet进行处理下:
table.render({ ... field: 'SFZH', title: '身份证号', width: 120, templet: function (d) { return d.SFZH+ "\t"; } ... });
1、在导出时遇到导出后的数据变科学计数,导致数据不准确,在field中返回数据时,使用templet进行处理下:
table.render({ ... field: 'SFZH', title: '身份证号', width: 120, templet: function (d) { return d.SFZH+ "\t"; } ... });