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 | 66 | const link = document.createElement('a'); |
67 | 67 | link.download = filename; |
68 | 68 | link.href = this._getDownloadUrl(text); |
69 | - link.target = '_blank'; | |
70 | 69 | document.body.appendChild(link); |
71 | 70 | link.click(); |
72 | 71 | document.body.removeChild(link); | ... | ... |