9***@qq.com
9***@qq.com
  • 发布:2022-04-07 08:42
  • 更新:2022-04-07 08:42
  • 阅读:344

#插件讨论# 【 uQRCode 二维码生成插件 - 3snn 】第一次生成二维码高度不够

分类:uni-app

第一次点击生成


后面点击生成的都是正常的

代码:
const query = uni.createSelectorQuery().select('#code');
query.boundingClientRect(data => {
this.$refs
.uqrcode
.make({
size:data.height,
text: this.url
})
.then(res => {
})
}).exec();

2022-04-07 08:42 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复