vue2 二维码生成学习笔记

插件官网https://github.com/xkeshi/vue-qrcode 1、安装 npm install @xkeshi/vue-qrcode vue 2、在组件中引用 import Qrcode from '@xkeshi/vue-qrcode'; 3、在组件中注册 components:{        qrcode: Qrcode }, 4、在data中定义一个属性 5、在方法内,
相关文章
相关标签/搜索