要用同步:getSystemInfoSync
onLoad() {
const res = uni.getSystemInfoSync();
this.scroolH = res.windowHeight - res.statusBarHeight -44
要用同步:getSystemInfoSync
onLoad() {
const res = uni.getSystemInfoSync();
this.scroolH = res.windowHeight - res.statusBarHeight -44