react-router-waiter icon indicating copy to clipboard operation
react-router-waiter copied to clipboard

onRouteBefore里如何进行鉴权

Open foreverfirst opened this issue 2 years ago • 0 comments

onRouteBefore中只接收pathname和meta两个参数,并且不能使用hook,而我的用户信息存储在全局store中,我要如何获取权限信息并进行校验呢?

foreverfirst avatar Oct 31 '22 08:10 foreverfirst