fix table 导出 null
This commit is contained in:
parent
81bb541a46
commit
171b4ac806
@ -1189,7 +1189,7 @@ const _sfc_main = defineComponent({
|
||||
const rowspan = rowColSpan ? rowColSpan[0] : 1;
|
||||
const colspan = rowColSpan ? rowColSpan[1] : 1;
|
||||
if (rowspan != 0 && colspan != 0) {
|
||||
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${item[name]}</td>`;
|
||||
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${item[name] || ""}</td>`;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -19636,7 +19636,7 @@ const _sfc_main$D = defineComponent({
|
||||
const rowspan = rowColSpan ? rowColSpan[0] : 1;
|
||||
const colspan = rowColSpan ? rowColSpan[1] : 1;
|
||||
if (rowspan != 0 && colspan != 0) {
|
||||
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${item[name]}</td>`;
|
||||
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${item[name] || ""}</td>`;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -414,7 +414,7 @@ const exportData = () => {
|
||||
const rowspan = rowColSpan ? rowColSpan[0] : 1;
|
||||
const colspan = rowColSpan ? rowColSpan[1] : 1;
|
||||
if (rowspan != 0 && colspan != 0) {
|
||||
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${item[name]}</td>`;
|
||||
tableStr += `<td colspan=${colspan} rowspan=${rowspan}>${item[name] || ''}</td>`;
|
||||
}
|
||||
}
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user