From 490fc9b62826754d933778e93399c0fabaf76588 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Wed, 16 Mar 2022 21:08:29 +0800 Subject: [PATCH] u --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 400ca57..7650890 100644 --- a/index.js +++ b/index.js @@ -104,11 +104,11 @@ export default { // #ifdef H5 if (uni.getSystemInfoSync().model==='PC') { if (this.RESPONSIVE_TABBAR_AUTOHIDE) { - if (window.screen.width > this.RESPONSIVE_WIDTH_THRESHOLD) { + if (window.screen.width > this.RESPONSIVE_TABBAR_AUTOHIDE_WIDTH_THRESHOLD) { uni.hideTabBar() } uni.onWindowResize(({size})=>{ - if (size.windowWidth > this.RESPONSIVE_WIDTH_THRESHOLD) { + if (size.windowWidth > this.RESPONSIVE_TABBAR_AUTOHIDE_WIDTH_THRESHOLD) { uni.hideTabBar() }else{ uni.showTabBar()