Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
86768a90
Commit
86768a90
authored
Dec 30, 2020
by
罗剑
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
2fb148ca
Pipeline
#21538
passed with stages
in 13 minutes 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
86768a90
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment