Commit 80b49c63 by 李伟康

fix(router): 修复导航状态更新逻辑

- 移除路由导航中的多余参数传递
- 确保在非企业微信环境下正确触发导航状态更新
- 优化路由守卫中的条件判断流程
1 parent 5c1ac261
......@@ -46,7 +46,7 @@ router.beforeEach((to, from, next) => {
store.dispatch('registerHttp')
} else {
if (!isWxWork && to.name !== 'notWxWork') return next('/mobile/notWxWork')
store.dispatch('navigation', to)
store.dispatch('navigation')
}
next()
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!