项目:https://ext.dcloud.net.cn/plugin?id=103 需求:需要适配飞书小程序,发现获取元素的left和width不准确 写法:uni.createSelectorQuery().in(this).select('.item').boundingClientRect(res => { console.log(res) }).exec() 现状:在H5、微信小程序是没问题的。在飞书小程序下如附件图片所示。 感觉大佬们指导!
w***@vertiv.com (作者)
好的,谢谢
2023-02-02 09:36