no message

Former-commit-id: 0e59ed055dcde7c78871875710e827b4c74b0879
Former-commit-id: d6bf0f4737e9973234169a3b56eeb224c189e4b7
Former-commit-id: 0297ac905c8f019bc1ed869058b686928ed09049
This commit is contained in:
李杨
2018-02-11 22:47:48 +08:00
parent 8658217baa
commit 5a2544abe2

View File

@@ -30,7 +30,6 @@ export default function csv(columns, datas, options, noHeader = false) {
if (columns) { if (columns) {
columnOrder = columns.map(v => { columnOrder = columns.map(v => {
console.log(v)
if (typeof v === 'string') return v; if (typeof v === 'string') return v;
if (!noHeader) { if (!noHeader) {
column.push(typeof v.label !== 'undefined' ? v.label : v.prop); column.push(typeof v.label !== 'undefined' ? v.label : v.prop);