refactor: ♻️ 部门下拉列表响应类型定义
Former-commit-id: 2cb8057b89ed93e0d55380c0b1f0ebc624696cec
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user