From c3b0d9a70fa8b62083106e87414ec4a93b882053 Mon Sep 17 00:00:00 2001 From: ciaochaos <1272777550@qq.com> Date: Sun, 3 May 2020 16:01:21 +0800 Subject: [PATCH] =?UTF-8?q?footer=20=E5=AD=97=E4=BD=93=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/downloader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/downloader.js b/src/utils/downloader.js index db203fd..a571a60 100644 --- a/src/utils/downloader.js +++ b/src/utils/downloader.js @@ -7,7 +7,7 @@ export function isChrome() { export function saveSvg(filename, content) { let htmlContent = [svgHead + content] - let bl = new Blob(htmlContent, {type: "text/html"}) + let bl = new Blob(htmlContent, {type: "image/svg+xml"}) let a = document.createElement("a") filename = "QRcode_" + filename + ".svg"