Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
e608090b
Commit
e608090b
authored
Nov 17, 2022
by
jianglingfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
17918784
b4bdd4f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
ruoyi-ui/src/components/TopNav/index.vue
ruoyi-ui/src/components/TopNav/index.vue
+5
-1
No files found.
ruoyi-ui/src/components/TopNav/index.vue
View file @
e608090b
...
...
@@ -92,7 +92,9 @@ export default {
if
(
path
!==
undefined
&&
path
.
lastIndexOf
(
"
/
"
)
>
0
&&
hideList
.
indexOf
(
path
)
===
-
1
)
{
const
tmpPath
=
path
.
substring
(
1
,
path
.
length
);
activePath
=
"
/
"
+
tmpPath
.
substring
(
0
,
tmpPath
.
indexOf
(
"
/
"
));
this
.
$store
.
dispatch
(
'
app/toggleSideBarHide
'
,
false
);
if
(
!
this
.
$route
.
meta
.
link
)
{
this
.
$store
.
dispatch
(
'
app/toggleSideBarHide
'
,
false
);
}
}
else
if
(
!
this
.
$route
.
children
)
{
activePath
=
path
;
this
.
$store
.
dispatch
(
'
app/toggleSideBarHide
'
,
true
);
...
...
@@ -145,6 +147,8 @@ export default {
}
if
(
routes
.
length
>
0
)
{
this
.
$store
.
commit
(
"
SET_SIDEBAR_ROUTERS
"
,
routes
);
}
else
{
this
.
$store
.
dispatch
(
'
app/toggleSideBarHide
'
,
true
);
}
},
ishttp
(
url
)
{
...
...
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