feat: 修改导出逻辑

This commit is contained in:
rd
2025-07-18 18:00:29 +08:00
parent 7956594705
commit bfeba5bd44
3 changed files with 6 additions and 5 deletions

View File

@ -68,8 +68,9 @@ import {
postPlacementAccountDataListExport,
} from '@/api/all/propertyMarketing';
import { showExportNotification } from '@/utils/arcoD';
import { INITIAL_QUERY, INITIAL_PAGE_INFO } from './constants';
import { downloadByUrl } from '@/utils/tools';
// import { downloadByUrl } from '@/utils/tools';
import icon2 from '@/assets/img/media-account/icon-group.png';
@ -148,7 +149,7 @@ const handleExport = () => {
}).then((res) => {
const { code, data } = res;
if (code === 200) {
downloadByUrl(data.download_url);
showExportNotification(`正在下载“${data.name}”,请稍后...`);
}
});
};