Skip to content

Commit

Permalink
- 修复: 导出文件无法下载
Browse files Browse the repository at this point in the history
  • Loading branch information
slowlyo committed Nov 13, 2023
1 parent aba57df commit c119023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/ElementTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ protected function exportAction($disableSelectedItem = false)

$primaryKey = $this->service->primaryKey();

$downloadPath = '/' . admin_url('_download_export', true);
$downloadPath = admin_url('_download_export', true);
$exportPath = $this->getExportPath();
$pageNoData = __('admin.export.page_no_data');
$selectedNoData = __('admin.export.selected_rows_no_data');
Expand Down

0 comments on commit c119023

Please sign in to comment.