2022年4月20日
摘要: 参考 https://www.ruanyifeng.com/blog/2021/01/clipboard-api.html 使用了 navigator.clipboard api,这个api的使用 要在本地的http://localhost/ 环境,或者https 上面才能使用 使用的是blob 流 阅读全文
posted @ 2022-04-20 18:20 94汪 阅读(62) 评论(0) 推荐(0)
摘要: 1. npm install -d qrcode 2. 在页面中导入 import QRCode from "qrcode"; 3. 页面html 结构 <canvas id="QRCode_header" > </canvas> 4.页面api 的使用 let opts = { errorCorr 阅读全文
posted @ 2022-04-20 14:15 94汪 阅读(290) 评论(0) 推荐(0)