Commit 86768a90 authored by 罗剑's avatar 罗剑

Update README.md

parent 2fb148ca
Pipeline #21538 passed with stages
in 13 minutes 41 seconds
......@@ -51,7 +51,7 @@ git commit -m 'fix: 修复了一个bug'
</Authozed>
</Router>
```
如果用户有`LOGIN`权限时,则展示url匹配的路由页面,否则跳转到登录页
如果用户有`LOGIN`权限时,则展示url匹配的路由页面,否则跳转到登录页.
用户的权限是在登录时调用`setAuthority`存储到一个对象中的,详见[登录页](./src/pages/user/login/index.js),[setAuthority](./src/utils/authority.js)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment