111
This commit is contained in:
@@ -24,4 +24,10 @@ router.beforeEach((to) => {
|
||||
if (to.meta.guest && hasToken()) return '/dashboard'
|
||||
})
|
||||
|
||||
router.afterEach(() => {
|
||||
if (typeof (window as any).WeixinJSBridge !== 'undefined' && (window as any).WeixinJSBridge.call) {
|
||||
(window as any).WeixinJSBridge.call('hideToolbar')
|
||||
}
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
Reference in New Issue
Block a user