mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-20 14:05:06 +08:00
fix: useTable warning
This commit is contained in:
@ -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 })
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user