heixieling
heixieling
  • 发布:2025-05-15 14:40
  • 更新:2025-05-15 14:40
  • 阅读:62

#插件讨论# 【 最强移动端虚拟列表 - 前端废柴 】获取不到nodes啊?

分类:uni-app

const query = uni.createSelectorQuery().in(this);
query.selectAll('.cc-list-item').boundingClientRect(nodes => {
console.log('测量尺寸:', nodes);
}).exec(); 获取不到nodes啊?在两层shadow-root里,所有获取不到。怎么办呢?

2025-05-15 14:40 负责人:无 分享
已邀请:

要回复问题请先登录注册