Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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-admin
Commits
b3e8986a
Commit
b3e8986a
authored
Jun 17, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix0618-menu' into 'v2-220618'
fix: 处理25160首页没有权限页面报错问题 See merge request linkseeks-design/pro-admin!101
parents
a7613251
3505e86f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
OuterSide.tsx
src/layouts/components/OuterSide.tsx
+1
-1
index.tsx
src/layouts/index.tsx
+1
-1
No files found.
src/layouts/components/OuterSide.tsx
View file @
b3e8986a
...
...
@@ -34,7 +34,7 @@ const OuterSider: React.FC<OuterSiderProps> = observer((props) => {
const
subHeadMenus
:
Array
<
any
>
=
[]
menuData
.
forEach
(
item
=>
{
// 为适配pass菜单自由组合变更, 使用code进行高亮显示
const
code
=
currentRouter
.
relationParentCode
const
code
=
currentRouter
?
.
relationParentCode
// console.log(code, item.relationParentCode)
if
(
code
&&
code
===
item
.
relationParentCode
)
{
defaultSelectedKeys
=
item
.
relationParentCode
...
...
src/layouts/index.tsx
View file @
b3e8986a
...
...
@@ -143,7 +143,7 @@ const BasicLayout: React.FC<any> = (props) => {
minWidth
:
'1280px'
,
}
:
{}
return
currentRouter
.
noLayout
?
props
.
children
:
(
return
currentRouter
?
.
noLayout
?
props
.
children
:
(
<
ProLayout
pageTitleRender=
{
()
=>
currentRouter
?
currentRouter
.
name
:
window
.
location
.
href
}
// contentStyle={{minWidth: '1280px'}}
...
...
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