Merge pull request #9453 from dataease/pr@dev@fixExportData

fix: 修复分享给我的仪表板导出数据进入数据导出中心没有看到导出的记录
This commit is contained in:
taojinlong 2024-04-29 16:45:31 +08:00 committed by GitHub
commit c6b949ba0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -545,7 +545,7 @@ export function exportExcelDownload(chart, snapshot, width, height, loadingWrapp
request.proxy = { userId: panelInfo.proxy }
}
method(request).then((res) => {
if (linkToken) {
if (linkToken && !token) {
const blob = new Blob([res], { type: 'application/vnd.ms-excel' })
const link = document.createElement('a')
link.style.display = 'none'