Browse Source

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

lishanming 1 year ago
parent
commit
b221ff2566
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/system/user/index.ts

+ 1 - 1
src/api/system/user/index.ts

@@ -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"