Open coldcafe opened 7 years ago
use officegen in koa, execute success, but the content of file always is "OK"
ctx.res.writeHead ( 200, { "Content-Type": "application/vnd.openxmlformats-officedocument.presentationml.presentation", 'Content-disposition': 'attachment; filename=surprise.xlsx' }); xlsx.generate ( ctx.res );
我也是这个问题
use officegen in koa, execute success, but the content of file always is "OK"