修复BUG:角色页面指定菜单时脚本错误,导致菜单列表页面不弹出

This commit is contained in:
Argo-Lenovo 2016-11-16 10:44:19 +08:00
parent 5293695f33
commit dbcf7899cf
1 changed files with 1 additions and 1 deletions

View File

@ -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 } });