瀏覽代碼

二维码异常

@dongkboy 1 年之前
父節點
當前提交
1476450167
共有 1 個文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      src/views/Task/daikeComponents/KtLetter1.vue

+ 2 - 2
src/views/Task/daikeComponents/KtLetter1.vue

@@ -8186,13 +8186,13 @@ export default {
         element.removeChild(element.firstChild);
         element.removeChild(element.firstChild);
       }
       }
       // 创建新的QRCode实例
       // 创建新的QRCode实例
-      this.qrcode = new QRCode("qrcode", {
+      this.qrcode = new QrCode("qrcode", {
         text: text,
         text: text,
         width: this.qrcodeWidth,
         width: this.qrcodeWidth,
         height: this.qrcodeHeight,
         height: this.qrcodeHeight,
         colorDark: "#000000",
         colorDark: "#000000",
         colorLight: "#ffffff",
         colorLight: "#ffffff",
-        correctLevel: QRCode.CorrectLevel.H,
+        correctLevel: QrCode.CorrectLevel.H,
       });
       });
     },
     },
     //人工核保
     //人工核保