From 177a8c8effe19865fcd62ec02bb6ef030049407d Mon Sep 17 00:00:00 2001 From: pan93412 Date: Mon, 25 Apr 2022 23:49:36 +0800 Subject: [PATCH] fix(views/loginAccount): improve clarity of QR Code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 渲染 384px 的 QR Code,而顯示在 192px 的方框中。這樣 QR Code 大小不變,但清晰度為原本的兩倍。 Fixed #1562 --- src/views/loginAccount.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/loginAccount.vue b/src/views/loginAccount.vue index 33a111d..3e00794 100644 --- a/src/views/loginAccount.vue +++ b/src/views/loginAccount.vue @@ -69,7 +69,7 @@
- +
{{ qrCodeInformation }} @@ -236,7 +236,7 @@ export default { QRCode.toDataURL( `https://music.163.com/login?codekey=${this.qrCodeKey}`, { - width: 192, + width: 384, margin: 0, color: { dark: '#335eea',