首先百度云下载文件
链接:https://pan.baidu.com/s/1WLqvgjE13mkM1wD9omORmQ
提取码:Andy
<image style="width: 190px;height: 190px;position: absolute;" :src="imgSrc"></image>
页面引入:import Qr from ‘@/common/wxqrcode.js’;
data中定义imgSrc:""
this.imgSrc = Qr.createQrCodeImg("123123") //123123替换成你要生成的内容