diff --git a/src/platforms/mp-weixin/helpers/system-info.js b/src/platforms/mp-weixin/helpers/system-info.js index 216e0e9d56b98952830784e1643fd0eea976feff..d50013a53551290cffaa8ba13f92001e1868a426 100644 --- a/src/platforms/mp-weixin/helpers/system-info.js +++ b/src/platforms/mp-weixin/helpers/system-info.js @@ -19,7 +19,7 @@ function addSafeAreaInsets (result) { top: safeArea.top, left: safeArea.left, right: result.windowWidth - safeArea.right, - bottom: result.windowHeight - safeArea.bottom + bottom: Math.abs(result.screenHeight - safeArea.bottom) } } }