You need to sign in or sign up before continuing.
Commit 95c2121f authored by mikedream's avatar mikedream
Browse files

[FIX] 修复二级菜单不显示

parent 9e072042
...@@ -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
{ {
......
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