求大佬我就是想写一个随机二维码,但是我想把他的那个背景变成我可以控制的输输出的图片
收起
qrCode插件生成二维码
import QRCode from "qrcodejs2"
Var qrcode = new QRCode (this.$refs.qrcode, {Text: this.addressStr, / / 二维呀内容Width: 147Height: 147ColorDark:'# 000000'ColorLight:'# ffffff'CorrectLevel: QRCode.CorrectLevel.H})
报告相同问题?