摘要: 1、安装qrcodejs2 npm install qrcodejs2 / yarn add qrcodejs2 2、引入qrcodejs2 import QRCodejs from 'qrcodejs2'; 3、使用 html: <div ref="locatorQRCodeRef"></div> 阅读全文
posted @ 2022-11-16 17:03 zaijinyang 阅读(2045) 评论(0) 推荐(0)
摘要: 1、通过id选择器来替换内容打印 html: <div ref="printQRCodeRef"> <div class="qrcode-dialog-container"> <img :src="locatorQRCodeDialogObj.qrcodeImgUrl" /> <div ref="l 阅读全文
posted @ 2022-11-16 16:00 zaijinyang 阅读(2047) 评论(0) 推荐(0)