下载当前检索结果

This commit is contained in:
gotoeasy 2023-09-13 22:17:27 +08:00
parent e0ed8d1d78
commit ae1c5666e2

View File

@ -290,7 +290,7 @@ function fnDownload() {
tableConfigStore.columns.forEach(oCol => { tableConfigStore.columns.forEach(oCol => {
if (!oCol.hidden && !oCol.editType.startsWith('$')) { if (!oCol.hidden && !oCol.editType.startsWith('$')) {
flg && (fileContent += ', '); flg && (fileContent += ', ');
oCol.field == 'text' ? (fileContent += item.detail) : (fileContent += item[oCol.field]); fileContent += item.detail || item[oCol.field];
flg = true; flg = true;
} }
}) })