无符号
无符号
  • 发布:2025-04-23 17:48
  • 更新:2025-04-23 20:21
  • 阅读:114

uni.createSelectorQuery获取不到节点对应的 Node 实例

分类:uni-app
            uni.createSelectorQuery()  
                .in(this)  
                .select('#myCanvas')  
                .fields({  
                    size: true,  
                    node: true  
                })  
                .exec((res) => {  
                    console.log(res)  
                });  

只返回了[{"height":0,"width":407}] ,size的数据,现在是不支持返回node实例了吗

2025-04-23 17:48 负责人:无 分享
已邀请:

要回复问题请先登录注册