Skip to content

Commit 85185f1

Browse files
committed
Update files name
1 parent c335015 commit 85185f1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pages/index.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default {
7777
const url = window.URL.createObjectURL(new Blob([imgURL]));
7878
const link = document.createElement("a");
7979
link.href = url;
80-
link.setAttribute("download", "qrCode.png"); //or any other extension
80+
link.setAttribute("download", "qr-code.png"); //or any other extension
8181
document.body.appendChild(link);
8282
link.click();
8383
},
@@ -86,7 +86,7 @@ export default {
8686
const url = window.URL.createObjectURL(new Blob([imgURL]));
8787
const link = document.createElement("a");
8888
link.href = url;
89-
link.setAttribute("download", "qrCode.svg"); //or any other extension
89+
link.setAttribute("download", "qr-code.svg"); //or any other extension
9090
document.body.appendChild(link);
9191
link.click();
9292
},
@@ -95,7 +95,7 @@ export default {
9595
const url = window.URL.createObjectURL(new Blob([imgURL]));
9696
const link = document.createElement("a");
9797
link.href = url;
98-
link.setAttribute("download", "qrCode.jpg"); //or any other extension
98+
link.setAttribute("download", "qr-code.jpg"); //or any other extension
9999
document.body.appendChild(link);
100100
link.click();
101101
},

0 commit comments

Comments
 (0)