[FIX] 修复二级菜单不显示
This commit is contained in:
@@ -559,6 +559,13 @@ public class FunctionsAction extends BaseAction<FunctionsModel>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user