refactor: ♻️ 部门下拉列表响应类型定义
Former-commit-id: 2cb8057b89ed93e0d55380c0b1f0ebc624696cec
This commit is contained in:
1 parent
8754f594c0
commit
bbc0a9e970
1 file changed
+1
-1
@@ -18,7 +18,7 @@ export function listDepts(queryParams?: DeptQuery): AxiosPromise<DeptVO[]> {
|
|||||||
/**
|
/**
|
||||||
* 部门下拉列表
|
* 部门下拉列表
|
||||||
*/
|
*/
|
||||||
export function getDeptOptions(): AxiosPromise<[]> {
|
export function getDeptOptions(): AxiosPromise<OptionType[]> {
|
||||||
return request({
|
return request({
|
||||||
url: "/api/v1/dept/options",
|
url: "/api/v1/dept/options",
|
||||||
method: "get",
|
method: "get",
|
||||||
|
|||||||
Reference in new issue
Block a user