Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
drawQRCode() {
const { text, usingEncode } = this.data;
const base64Data = createQrCodeImg(usingEncode ? encodeURIComponent(text): String(text));
this.computedStyles();
this.setData({ base64Data });
},
/**