Commit 3e699466 by fanx
2 parents 43c8f373 563e9af2
......@@ -47,7 +47,7 @@ const router = new VueRouter({
router.beforeEach((to, from, next) => {
const { menu } = to.meta || {}
menu && NativeMenuApi.nativeMenuShow() || NativeMenuApi.nativeMenuHide()
menu ? NativeMenuApi.nativeMenuShow() : NativeMenuApi.nativeMenuHide()
next()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!