fix: 重制搜索条件
This commit is contained in:
parent
403501b214
commit
035ba22f52
@ -57,11 +57,7 @@ export function useGetList(path: string, isPaginate: boolean = true) {
|
||||
// reset
|
||||
function reset() {
|
||||
resetPage()
|
||||
|
||||
if (isPaginate) {
|
||||
query.value = Object.assign({ page: page.value, limit: limit.value })
|
||||
}
|
||||
|
||||
query.value = Object.assign(isPaginate ? { page: page.value, limit: limit.value } : {})
|
||||
getList()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user