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()