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

Former-commit-id: 2cb8057b89ed93e0d55380c0b1f0ebc624696cec
This commit is contained in:
hxr
2023-11-05 10:55:10 +08:00
parent 8754f594c0
commit bbc0a9e970

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