Commit 5d284605c4e3a3222c077582c1e3ff058ee656ce

Authored by lambert
1 parent c110b728

allow use Blob to download csv

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/table/export-csv.js
... ... @@ -41,7 +41,7 @@ const csv = {
41 41 _getDownloadUrl (text) {
42 42 const BOM = '\uFEFF';
43 43 // Add BOM to text for open in excel correctly
44   - if (window.Blob && window.URL && window.URL.createObjectURL && !has('Safari')) {
  44 + if (window.Blob && window.URL && window.URL.createObjectURL) {
45 45 const csvData = new Blob([BOM + text], { type: 'text/csv' });
46 46 return URL.createObjectURL(csvData);
47 47 } else {
... ...