Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
87d3b2bc
Commit
87d3b2bc
authored
Nov 11, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统菜单
parent
4c41de86
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
15 deletions
+6
-15
index.vue
pages/basicData/menu/index.vue
+6
-15
No files found.
pages/basicData/menu/index.vue
View file @
87d3b2bc
...
...
@@ -17,17 +17,6 @@
{{
item
.
name
}}
</MenuItem>
</Menu>
<!--
<ul>
<li
v-for=
"(item, index) in list"
:key=
"index"
:class=
"
{ active: index == isActive }"
@click="itemClick(index)"
>
{{
item
.
name
}}
</li>
</ul>
-->
</Sider>
<Content
class=
"content"
>
<TreeGrid
:columns=
"columns"
ref=
"grid"
:items=
"newList"
>
...
...
@@ -100,6 +89,7 @@ export default {
},
newList
:
[],
name
:
0
,
// curItem:0,
curModel
:
{
id
:
0
,
type
:
0
,
...
...
@@ -271,12 +261,13 @@ export default {
});
},
init
()
{
Api
.
getSystem
().
then
((
r
)
=>
{
this
.
systemList
=
r
.
result
;
});
//
Api.getSystem().then((r) => {
//
this.systemList = r.result;
//
});
Api
.
getTree
().
then
((
r
)
=>
{
this
.
list
=
r
.
result
;
this
.
newList
=
r
.
result
;
// this.curItem = 0;
this
.
newList
=
[
r
.
result
[
0
]];
});
},
add
(
row
)
{
...
...
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