refactor: 修改xlsx导出

This commit is contained in:
2025-03-10 14:59:47 +08:00
parent 43630eb20a
commit 2e7c0887ea
7 changed files with 20 additions and 13 deletions

View File

@@ -433,7 +433,7 @@ class Menu
$data = $this->getExportMenuData();
// 导出
xlsx_writer($data, $schema)->save('php://output');
return xlsx_writer($data, $schema, '', 'php://output', 'file');
}
private function getExportMenuData()
{