diff --git a/pages/index/index.vue b/pages/index/index.vue index d0ce3c3b..a2ce07a5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1019,8 +1019,7 @@ export default { this.localHeight = meun.height; this.showSearch() this.getSearchVal() - this.showNav = uni.getStorageSync("isShowNav") == 1 - + this.showNav = uni.getStorageSync("isShowNav") != 1 }, onShow() {