From cb44f47bcd4e6874eca23f0f939e7c401662a935 Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Wed, 10 Jul 2024 08:01:05 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20:memo:=20=E6=B3=A8=E9=87=8A=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dept.ts | 4 ++-- src/api/menu.ts | 1 - src/api/role.ts | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) 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({