Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 365fbb03
authored
Sep 26, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
dde05cd5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
src/layout/components/LeftSide/LeftSideMenuLv2Item.vue
src/layout/components/LeftSide/LeftSideMenuLv2Item.vue
View file @
365fbb0
...
@@ -58,8 +58,13 @@ export default {
...
@@ -58,8 +58,13 @@ export default {
this
.
bus
.
$off
(
'menuChanged'
,
this
.
handleMenuChanged
)
this
.
bus
.
$off
(
'menuChanged'
,
this
.
handleMenuChanged
)
},
},
methods
:
{
methods
:
{
handleModuleClick
(
menu
)
{
handleModuleClick
({
path
,
id
})
{
this
.
$router
.
push
(
menu
.
path
)
const
{
lv1
,
lv2
}
=
this
.
current
if
(
id
==
`
${
lv1
}
-
${
lv2
}
`
)
return
if
(
path
&&
path
.
startsWith
(
'/'
)
&&
!
path
.
startsWith
(
'/^'
))
{
this
.
$router
.
push
(
path
)
}
this
.
bus
.
$emit
(
'menu3Changed'
,
[])
},
},
isMenuNoChildren
({
children
=
[]
})
{
isMenuNoChildren
({
children
=
[]
})
{
return
children
.
noHidden
().
length
==
0
return
children
.
noHidden
().
length
==
0
...
@@ -116,7 +121,8 @@ $active-background-color: rgba(88, 80, 255, 0.2) !important;
...
@@ -116,7 +121,8 @@ $active-background-color: rgba(88, 80, 255, 0.2) !important;
//
right
:
0
;
//
right
:
0
;
visibility
:
hidden
;
visibility
:
hidden
;
}
}
&
:not
(
.hasNoChild
)
{
//
has
children
title
&
:not
(
.hasNoChild
)
{
//
has
children
title
cursor
:
default
!important
;
cursor
:
default
!important
;
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
span
{
span
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment