Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
cb9ce9ea
Commit
cb9ce9ea
authored
Mar 08, 2022
by
Gavin Peng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2-220418' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2-220418
parents
e19df8d3
74402e60
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AuthUrl.ts
src/components/AuthButton/AuthUrl.ts
+1
-1
No files found.
src/components/AuthButton/AuthUrl.ts
View file @
cb9ce9ea
...
...
@@ -6,11 +6,11 @@ export const AuthUrl = (btnCode: string) => {
const
RoutesAuth
=
auth
.
filter
((
item
:
any
)
=>
item
?.
u
===
pathname
)
// console.log(AuthCode, 'AuthCode')
if
(
btnCode
===
'DevTest'
)
return
true
// 本地开发时传的特殊标识,直接开放权限
if
(
RoutesAuth
.
length
>
0
)
{
const
{
b
}
=
RoutesAuth
[
0
];
// 本地开发时传的特殊标识,直接开放权限
if
(
btnCode
===
'DevTest'
)
return
true
for
(
let
i
=
0
;
i
<
b
.
length
;
i
++
)
{
if
(
btnCode
)
{
// 是否有页面标识
...
...
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