refactor: ♻️ 部门下拉列表响应类型定义

This commit is contained in:
hxr 2023-11-05 10:55:10 +08:00
parent fd992d108b
commit 2cb8057b89
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export function listDepts(queryParams?: DeptQuery): AxiosPromise<DeptVO[]> {
/**
*
*/
export function getDeptOptions(): AxiosPromise<[]> {
export function getDeptOptions(): AxiosPromise<OptionType[]> {
return request({
url: "/api/v1/dept/options",
method: "get",