修复BUG:角色页面指定菜单时脚本错误,导致菜单列表页面不弹出
This commit is contained in:
parent
5293695f33
commit
dbcf7899cf
|
@ -383,7 +383,7 @@
|
|||
processData.call(this, { Id: 0, callback: callback, data: { type: "user" } });
|
||||
};
|
||||
Menu.getMenusByRoleId = function (roleId, callback) {
|
||||
processData.call(this, { Id: roleId, callback: callback, data: { type: "role" } });
|
||||
processData.call(this, { Id: roleId, callback: callback, data: { type: "role" }, html: null });
|
||||
};
|
||||
Menu.saveMenusByRoleId = function (roleId, menuIds, callback) {
|
||||
processData.call(this, { Id: roleId, callback: callback, method: "PUT", data: { type: "role", menuIds: menuIds } });
|
||||
|
|
Loading…
Reference in New Issue