diff --git a/src/api/dept.ts b/src/api/dept.ts index 9bd46739..b30a21e4 100644 --- a/src/api/dept.ts +++ b/src/api/dept.ts @@ -26,10 +26,10 @@ class DeptAPI { } /** - * 获取部门详情表单数据 + * 获取部门表单数据 * * @param id 部门ID - * @returns 部门详情表单数据 + * @returns 部门表单数据 */ static getFormData(id: number) { return request({ diff --git a/src/api/menu.ts b/src/api/menu.ts index 4fff728f..6a78b4b8 100644 --- a/src/api/menu.ts +++ b/src/api/menu.ts @@ -47,7 +47,6 @@ class MenuAPI { * 获取菜单表单数据 * * @param id 菜单ID - * @returns 菜单表单数据 */ static getFormData(id: number) { return request({ diff --git a/src/api/role.ts b/src/api/role.ts index bfbbac21..e33a5020 100644 --- a/src/api/role.ts +++ b/src/api/role.ts @@ -38,7 +38,6 @@ class RoleAPI { * * @param roleId 角色ID * @param data 菜单ID集合 - * @returns 请求结果 */ static updateRoleMenus(roleId: number, data: number[]) { return request({