Commit 863997c0 authored by Mark's avatar Mark Committed by 季圣华
Browse files

!9 修复二级菜单不显示

Merge pull request !9 from Mark/fix_no_menu
parents 9e072042 83c28e53
...@@ -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
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment