浏览代码

新增导航高度返回

sys 3 年之前
父节点
当前提交
afda180593
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      components/en-utils/en-nav/en-nav.vue

+ 1 - 0
components/en-utils/en-nav/en-nav.vue

@@ -85,6 +85,7 @@
           self.statusBarH = e.statusBarHeight + 10
           let custom = wx.getMenuButtonBoundingClientRect()
           self.customBarH = custom.height
+          self.$emit('navHeight', self.customBarH-10)
         }
       })
     }