diff --git a/api/app/lib/controllers/data/index.js b/api/app/lib/controllers/data/index.js index 4dc8cb25..d7b75558 100644 --- a/api/app/lib/controllers/data/index.js +++ b/api/app/lib/controllers/data/index.js @@ -79,9 +79,13 @@ async function dataExport (ctx) { const tableAttributes = models[modalOption.tableName].tableAttributes let header = [] for (let k in tableAttributes) { - if (k != 'id' && tableAttributes[k].comment) { + const comment = tableAttributes[k].comment + if (k != 'id' && comment) { + if (comment == '品名' && municipalType == '出租车') { + continue + } header.push({ - title: tableAttributes[k].comment || '-', + title: comment || '-', key: k, index: tableAttributes[k].index, })