qrcodejs2生成二维码
时间: 2023-09-10 22:11:50 浏览: 113
qrcodejs2可以通过两种方式生成二维码。第一种方式是使用`this.$refs.qrcode.innerHTML = '';`来清除之前生成的二维码,然后使用`qrcode.makeCode("http://naver.com");`来生成新的二维码。第二种方式是使用`this.qrcode.clear();`来清除之前生成的二维码,然后再使用`qrcode.makeCode("http://naver.com");`来生成新的二维码。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [Vue使用qrcodejs2实现二维码生成](https://blog.csdn.net/m0_51431448/article/details/124663102)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [2023最新苹果CMS海螺模版V20修复版,另附广告代码](https://download.csdn.net/download/weixin_36643308/88240934)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文