wsynha
wsynha
  • 发布:2021-07-17 08:49
  • 更新:2021-07-17 08:49
  • 阅读:338

【紧急求助】如何获取list出现滚动条后的内容高度

分类:uni-app
const result = dom.getComponentRect(this.$refs.list, option => {  
    console.log('getComponentRect:', option)  
})

上面这个方法只能获取到list的高度获取不了里面内容的高度,我要判断是否出现滚动条

2021-07-17 08:49 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复