- 注册时间
- 2012-9-24
- 最后登录
- 2013-7-19
- 阅读权限
- 10
- 积分
- 25
- 精华
- 0
- 帖子
- 7
|
factory 发表于 2012-9-25 10:16
你去看下demo给到的是什么样的格式
[
{ id: "user", text: "用户管理"},
{ id: "addUser", pid: "user", text: "增加用户", iconCls: "icon-add", url: "../datagrid/celledit.html" },
{ id: "editUser", pid: "user", text: "修改用户", iconCls: "icon-edit", url: "../datagrid/rowedit.html" },
{ id: "removeUser", pid: "user", text: "删除用户", iconCls: "icon-remove", url: "../datagrid/datagrid.html" },
{ id: "right", text: "权限管理"},
{ id: "addRight", pid: "right", text: "查询权限", iconCls: "Note", url: "../tree/detailgrid.html", iconPosition: "top" },
{ id: "editRight", pid: "right", text: "操作权限", iconCls: "Reports", url: "../buttonedit/selectGrid.html", iconPosition: "top" }
]
demo是这样的,我就是照着这个写的,麻烦指明下我写的有什么问题? |
|