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

heixieling
- 发布:2025-05-15 14:40
- 更新:2025-05-15 14:40
- 阅读:62
0 个回复