fix 修复编译报类型错误问题
This commit is contained in:
parent
50891e99ac
commit
b221ff2566
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user