fix 修复编译报类型错误问题

This commit is contained in:
lishanming 2023-08-09 15:15:10 +08:00
parent 50891e99ac
commit b221ff2566

View File

@ -173,7 +173,7 @@ export const updateAuthRole = (data: { userId: string; roleIds: string }) => {
*
* @param deptId
*/
export const listUserByDeptId = (deptId: string | number): AxiosPromise<DeptVO[]> => {
export const listUserByDeptId = (deptId: string | number): AxiosPromise<UserVO[]> => {
return request({
url: "/system/user/list/dept/" + deptId,
method: "get"