chore: 默认值

This commit is contained in:
dap
2024-10-06 09:53:00 +08:00
parent da4c612481
commit 60ae7cc0cc
15 changed files with 103 additions and 100 deletions

View File

@@ -1,6 +1,6 @@
import type { Dept } from './model';
import type { ID, PageQuery } from '#/api/common';
import type { ID } from '#/api/common';
import { requestClient } from '#/api/request';
@@ -10,7 +10,7 @@ enum Api {
root = '/system/dept',
}
export function deptList(params?: PageQuery) {
export function deptList(params?: any) {
return requestClient.get<Dept[]>(Api.deptList, { params });
}