fix: useTable warning

This commit is contained in:
xingyu
2022-07-25 22:54:12 +08:00
parent 3d0cb5200b
commit 877254af10
11 changed files with 87 additions and 23 deletions

View File

@ -1,5 +1,5 @@
import { useAxios } from '@/hooks/web/useAxios'
import type { DeptVO } from './types'
import type { DeptVO, DeptListReqVO } from './types'
const request = useAxios()
@ -9,7 +9,7 @@ export const listSimpleDeptApi = () => {
}
// 查询部门列表
export const getDeptPageApi = (params) => {
export const getDeptPageApi = (params: DeptListReqVO) => {
return request.get({ url: '/system/dept/list', params })
}