refactor: ♻️ 部门下拉列表响应类型定义
This commit is contained in:
parent
fd992d108b
commit
2cb8057b89
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue