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
863997c0
Commit
863997c0
authored
Sep 16, 2017
by
Mark
Committed by
季圣华
Sep 16, 2017
Browse files
!9 修复二级菜单不显示
Merge pull request !9 from Mark/fix_no_menu
parents
9e072042
83c28e53
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/jsh/action/basic/FunctionsAction.java
View file @
863997c0
...
@@ -555,11 +555,15 @@ public class FunctionsAction extends BaseAction<FunctionsModel>
...
@@ -555,11 +555,15 @@ public class FunctionsAction extends BaseAction<FunctionsModel>
//不是目录,有链接
//不是目录,有链接
item1
.
put
(
"text"
,
"<a onclick=\"NewTab('"
+
functions1
.
getName
()+
"','"
+
functions1
.
getURL
()+
"','"
+
functions1
.
getId
()+
"')\">"
+
functions1
.
getName
()+
"</a>"
);
item1
.
put
(
"text"
,
"<a onclick=\"NewTab('"
+
functions1
.
getName
()+
"','"
+
functions1
.
getURL
()+
"','"
+
functions1
.
getId
()+
"')\">"
+
functions1
.
getName
()+
"</a>"
);
}
}
dataArray1
.
add
(
item1
);
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