Explorar o código

新增导航高度返回

sys %!s(int64=3) %!d(string=hai) anos
pai
achega
afda180593
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
         }
       })
     }