fix: use exportByPost for category export to trigger file download

This commit is contained in:
小蟑螂
2026-04-21 17:56:50 +08:00
parent 80c0e6f4aa
commit ccefb0f2af
@@ -67,7 +67,7 @@ const handleCategoryExport = async () => {
if (selectedExportCategoryIds.value.length > 0) {
Object.assign(params, { categoryIds: selectedExportCategoryIds.value });
}
await exportCategoryOverviewApi(params);
await exportByPost('/ec/category-overview/export', params, '品类多维度经营明细.xlsx');
};
// 税率(公司/店铺概览共用持久化)