From e2bdae5bf2a2acf562ac985c8607700912a9e3a3 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 20 四月 2024 19:13:35 +0800 Subject: [PATCH] update element-plus 升级 2.7.1 并适配代码 --- src/api/system/user/index.ts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index fdcafc2..61a58f6 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -18,6 +18,17 @@ }; /** + * 閫氳繃鐢ㄦ埛ids鏌ヨ鐢ㄦ埛 + * @param userIds + */ +export const optionSelect = (userIds: (number | string)[]): AxiosPromise<UserVO[]> => { + return request({ + url: '/system/user/optionselect?userIds=' + userIds, + method: 'get' + }); +}; + +/** * 鑾峰彇鐢ㄦ埛璇︽儏 * @param userId */ @@ -199,6 +210,7 @@ export default { listUser, getUser, + optionSelect, addUser, updateUser, delUser, -- Gitblit v1.9.3