table: fix export csv for safari
Author: liuyanshi <lanternd.done@gmail.com>
This commit is contained in:
parent
5d284605c4
commit
44b1490840
1 changed files with 0 additions and 1 deletions
|
@ -66,7 +66,6 @@ const csv = {
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
link.download = filename;
|
link.download = filename;
|
||||||
link.href = this._getDownloadUrl(text);
|
link.href = this._getDownloadUrl(text);
|
||||||
link.target = '_blank';
|
|
||||||
document.body.appendChild(link);
|
document.body.appendChild(link);
|
||||||
link.click();
|
link.click();
|
||||||
document.body.removeChild(link);
|
document.body.removeChild(link);
|
||||||
|
|
Loading…
Add table
Reference in a new issue