File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 },
You can’t perform that action at this time.
0 commit comments