u
This commit is contained in:
parent
de4aa72ed7
commit
490fc9b628
4
index.js
4
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()
|
||||
|
Loading…
Reference in New Issue
Block a user