|
@@ -81,7 +81,7 @@ export const saveRoleApi = (params: SaveRoleParams) =>
|
|
|
defHttp.post({ url: Api.saveRole, params: { ...params, deptIdList: [], deptId: 1 } });
|
|
|
//TODO 临时deptId调试
|
|
|
export const updateRoleApi = (params: SaveRoleParams) =>
|
|
|
- defHttp.post({ url: Api.updateRole, params: { ...params, deptIdList: [] }, deptId: 1 });
|
|
|
+ defHttp.post({ url: Api.updateRole, params: { ...params, deptIdList: [], deptId: 1 } });
|
|
|
|
|
|
export const deleteRoleApi = (params: (string | number)[]) =>
|
|
|
defHttp.post({ url: Api.deleteRole, params: params });
|