This commit is contained in:
yuping
2022-12-25 22:41:32 +08:00
parent 3003d69468
commit 4c3b3c78e7
2 changed files with 8 additions and 8 deletions

View File

@@ -77,12 +77,12 @@ export function useBoeUserListPage(_url, params = {}, init = true) {
...params
})
watch(() => params.keyWord, throttle(fetch, 600))
watch(() => params.keyword, throttle(fetch, 600))
watch(() => params.page, fetch)
function fetch() {
state.loading = true
if (!params.keyWord) {
if (!params.keyword) {
state.loading = false
return
}