Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
95c2121f
You need to sign in or sign up before continuing.
Commit
95c2121f
authored
Sep 16, 2017
by
mikedream
Browse files
[FIX] 修复二级菜单不显示
parent
9e072042
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/action/basic/FunctionsAction.java
View file @
95c2121f
...
@@ -559,7 +559,14 @@ public class FunctionsAction extends BaseAction<FunctionsModel>
...
@@ -559,7 +559,14 @@ public class FunctionsAction extends BaseAction<FunctionsModel>
dataArray1
.
add
(
item1
);
dataArray1
.
add
(
item1
);
item
.
put
(
"children"
,
dataArray1
);
item
.
put
(
"children"
,
dataArray1
);
}
}
}
else
{
//不是目录,有链接
item1
.
put
(
"text"
,
"<a onclick=\"NewTab('"
+
functions1
.
getName
()+
"','"
+
functions1
.
getURL
()+
"','"
+
functions1
.
getId
()+
"')\">"
+
functions1
.
getName
()+
"</a>"
);
}
dataArray1
.
add
(
item1
);
item
.
put
(
"children"
,
dataArray1
);
}
}
}
else
else
{
{
...
...
Write
Preview
Supports
Markdown
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