Commit 44b1490840fe6a2f7055c9c96ec2cad0c9ac3438
Committed by
liuyanshi

1 parent
5d284605
table: fix export csv for safari
Author: liuyanshi <lanternd.done@gmail.com>
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
src/components/table/export-csv.js
@@ -66,7 +66,6 @@ const csv = { | @@ -66,7 +66,6 @@ const csv = { | ||
66 | const link = document.createElement('a'); | 66 | const link = document.createElement('a'); |
67 | link.download = filename; | 67 | link.download = filename; |
68 | link.href = this._getDownloadUrl(text); | 68 | link.href = this._getDownloadUrl(text); |
69 | - link.target = '_blank'; | ||
70 | document.body.appendChild(link); | 69 | document.body.appendChild(link); |
71 | link.click(); | 70 | link.click(); |
72 | document.body.removeChild(link); | 71 | document.body.removeChild(link); |