refactor: 修改xlsx导出

This commit is contained in:
2025-03-10 14:59:47 +08:00
parent 7701f5167d
commit 1825ac8ffb
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()
{