美文网首页
nvue获取元素高度 只能用id获取

nvue获取元素高度 只能用id获取

作者: PharkiLL | 来源:发表于2021-05-20 16:18 被阅读0次
    uni.createSelectorQuery().select('#scroll-box').boundingClientRect((res)=>{
        console.log(res)
     }).exec()
    

    相关文章

      网友评论

          本文标题:nvue获取元素高度 只能用id获取

          本文链接:https://www.haomeiwen.com/subject/rxkbjltx.html