摘要:
下载功能多次使用,并且不同场景需要的效果不同,这边就列举几个自己常用的 a标签实现下载 const a = document.createElement('a') a.style.display = 'none' a.href = url a.download = 'name' document.b 阅读全文
摘要:
使用工具 主要使用qrcode.react来生成二维码 下载命令:npm install qrcode.react --save 使用方法 import {QRCodeSVG, QRCodeCanvas} from 'qrcode.react' // 有两种都可以用来生成二维码,格式不同 <QRCo 阅读全文