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
linweijiong
jinfa-platform
Commits
0416b7d5
Commit
0416b7d5
authored
Aug 10, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 注释console.log
parent
1b18a0bc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
BasicLayout.tsx
src/layouts/BasicLayout.tsx
+1
-1
OuterSide.tsx
src/layouts/components/OuterSide.tsx
+1
-1
No files found.
src/layouts/BasicLayout.tsx
View file @
0416b7d5
...
...
@@ -152,7 +152,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
minWidth
:
'1280px'
,
}
:
{}
console
.
log
(
currentRouter
)
//
console.log(currentRouter)
return
currentRouter
.
noLayout
?
props
.
children
:
(
<
ProLayout
pageTitleRender=
{
()
=>
currentRouter
?
currentRouter
.
name
:
window
.
location
.
href
}
...
...
src/layouts/components/OuterSide.tsx
View file @
0416b7d5
...
...
@@ -36,7 +36,7 @@ const OuterSider: React.FC<OuterSiderProps> = observer((props) => {
menuData
.
forEach
(
item
=>
{
// 为适配pass菜单自由组合变更, 使用code进行高亮显示
const
code
=
currentRouter
.
relationParentCode
console
.
log
(
code
,
item
.
relationParentCode
)
//
console.log(code, item.relationParentCode)
if
(
code
&&
code
===
item
.
relationParentCode
)
{
defaultSelectedKeys
=
item
.
relationParentCode
}
...
...
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