Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

safari can't download csv file #214

Open
jokingzhang opened this issue Sep 5, 2017 · 2 comments
Open

safari can't download csv file #214

jokingzhang opened this issue Sep 5, 2017 · 2 comments

Comments

@jokingzhang
Copy link

jokingzhang commented Sep 5, 2017

I used ng-csv like this.

<a href="javascript:;" ng-show="vm.items.length > 0" ng-csv="vm.exportItems" csv-header="['姓名', '手机号', '邮箱', '公司']" charset="utf-8" add-bom="true" filename="{{ vm.exportFile }}" class="pull-right im-member-export">
  <i class="fa fa-download"></i> export
</a>

It works on Chrome, Firefox, IE is good, but it can't work on Safari.
In Safair , it open a new tab just like this.
image

Thanks read, please help

@ZelimDamian
Copy link

+1 Exactly as described

@WillBDaniels
Copy link

as quoted in this plugin (at the bottom of the readme) safari is unsupported entirely by this plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants