<scroll-view scroll-y="true" :style="{ 'height': getWindowHeight + 'px' }" ></scroll-view>
computed: {
getWindowHeight() {
let height='';
uni.getSystemInfo({
success: function(res) {
height = res.windowHeight
},
});
console.log(height);
return height;
}
},