Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
0841452d
Commit
0841452d
authored
Apr 23, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c3fa7ef6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
mall.vue
src/components/mall.vue
+15
-2
menu.vue
src/components/system/menu.vue
+1
-1
No files found.
src/components/mall.vue
View file @
0841452d
...
...
@@ -395,13 +395,24 @@
showTwo
:
false
,
defaultActive
:
'1-1'
,
currentUser
:
{},
MenuList
:
[],
//菜单列表
};
},
created
()
{
this
.
currentUser
=
this
.
getLocalStorage
();
console
.
log
(
" this.currentUser"
,
this
.
currentUser
);
},
methods
:
{
//获取菜单列表
getMenuList
()
{
this
.
apipost
(
"/api/Tenant/GetMenuList"
,
{},
res
=>
{
console
.
log
(
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
MenuList
=
res
.
data
.
data
;
}
else
{
this
.
Info
(
res
.
data
.
message
);
}
})
},
//点击关闭二级窗口
hideTwo
()
{
this
.
showTwo
=
false
;
...
...
@@ -418,7 +429,9 @@
});
}
},
mounted
()
{}
mounted
()
{
this
.
getMenuList
();
}
};
</
script
>
src/components/system/menu.vue
View file @
0841452d
...
...
@@ -215,7 +215,7 @@
},
//恢复菜单
getChildMenuList
(
MenuLevel
)
{
this
.
apipost
(
"/api/Tenant/
SetMenuStatus
"
,
{
this
.
apipost
(
"/api/Tenant/
GetMenuChildList
"
,
{
MenuLevel
:
MenuLevel
,
},
res
=>
{
console
.
log
(
res
);
...
...
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