Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
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
zhouqian
vue-gjjs
Commits
ed331a2c
Commit
ed331a2c
authored
Dec 27, 2021
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SideMenu fix
parent
45724bb4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
SideMenu.vue
src/views/Layout/SideMenu.vue
+9
-1
No files found.
src/views/Layout/SideMenu.vue
View file @
ed331a2c
...
...
@@ -32,7 +32,6 @@ export default {
data
:
function
()
{
return
{
openFlgArr
:
[],
openFlgArrCopy
:
[],
menuOpen
:
true
,
menuList
:
[
// { inifrm: "0", ininam: "公共夹", pntmiu: "" },
...
...
@@ -109,6 +108,15 @@ export default {
return
this
.
$route
.
path
;
},
},
watch
:
{
$route
:
function
()
{
this
.
$nextTick
(()
=>
{
const
arr
=
[]
this
.
getOpenMenusIndex
(
this
.
menus
,
arr
)
this
.
openFlgArr
=
[...
new
Set
([...
this
.
openFlgArr
,
...
arr
])]
})
}
},
mounted
()
{
const
arr
=
[];
this
.
generateMenuTree
(
arr
);
...
...
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