jQuery MiniUI

 找回密码
 立即注册
查看: 2970|回复: 1
打印 上一主题 下一主题

菜单分割线 [复制链接]

Rank: 3Rank: 3

跳转到指定楼层
楼主
发表于 2014-3-16 15:32:00 |只看该作者 |倒序浏览
本帖最后由 lb_tell 于 2014-3-17 08:43 编辑

[
{ id: "user", text: "用户管理"},
{ id: "addUser", pid: "user", text: "增加用户", iconCls: "icon-add", url: "../navbartree/navbartree.html"},
<想在这里加个分割线>
{ id: "editUser", pid: "user", text: "修改用户", iconCls: "icon-edit", url: "../buttonedit/openwindow.html" },
{ id: "removeUser", pid: "user", text: "删除用户", iconCls: "icon-remove", url: "../datagrid/datagrid.html" },
'-',
{ id: "right", text: "权限管理"},
{ id: "addRight", pid: "right", text: "查询权限", iconCls: "icon-add", url: "../navbartree/navbartree.html", iconPosition: "top" },
{ id: "editRight", pid: "right", text: "操作权限", iconCls: "Reports", url: "../buttonedit/openwindow.html", iconPosition: "top" }  
]

我在json应该怎么做

Rank: 8Rank: 8

沙发
发表于 2014-3-17 09:29:13 |只看该作者
加上{type:"separator"}

Archiver|普加软件

GMT+8, 2025-7-13 05:08 , Processed in 1.056199 second(s), 9 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部