fix(plugin-export): sheet name cannot contain : \ / ? * [ ]
This commit is contained in:
parent
e566d56c2d
commit
64b1ee28fd
@ -27,7 +27,7 @@ export async function exportXlsx(ctx: Context, next: Next) {
|
||||
const { rows, ranges } = await render({ columns, fields: collectionFields, data }, ctx);
|
||||
ctx.body = xlsx.build([
|
||||
{
|
||||
name: title,
|
||||
name: 'Sheet 1',
|
||||
data: rows,
|
||||
options: {
|
||||
'!merges': ranges,
|
||||
|
Loading…
Reference in New Issue
Block a user