From 5d284605c4e3a3222c077582c1e3ff058ee656ce Mon Sep 17 00:00:00 2001 From: lambert Date: Mon, 24 Jul 2017 18:02:29 +0800 Subject: [PATCH] allow use Blob to download csv --- src/components/table/export-csv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/export-csv.js b/src/components/table/export-csv.js index 3599eb6..3b07a01 100644 --- a/src/components/table/export-csv.js +++ b/src/components/table/export-csv.js @@ -41,7 +41,7 @@ const csv = { _getDownloadUrl (text) { const BOM = '\uFEFF'; // Add BOM to text for open in excel correctly - if (window.Blob && window.URL && window.URL.createObjectURL && !has('Safari')) { + if (window.Blob && window.URL && window.URL.createObjectURL) { const csvData = new Blob([BOM + text], { type: 'text/csv' }); return URL.createObjectURL(csvData); } else { -- libgit2 0.21.4