const getwindowHeight = ()=>{
uni.getSystemInfo({
success: function(res) {
console.log(res.windowHeight);
windowHeight.value = res.windowHeight
}
});
}
05-12
4788
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-07
2832
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)