diff --git a/src/api/dept/index.ts b/src/api/dept/index.ts index 77e3973..f5e0466 100644 --- a/src/api/dept/index.ts +++ b/src/api/dept/index.ts @@ -18,7 +18,7 @@ export function listDepts(queryParams?: DeptQuery): AxiosPromise { /** * 部门下拉列表 */ -export function getDeptOptions(): AxiosPromise<[]> { +export function getDeptOptions(): AxiosPromise { return request({ url: "/api/v1/dept/options", method: "get",