Commit 981a41e2 by lijiabin

【需求 21254】 chore: 刷新改为异步函数

parent 7d1289e9
...@@ -108,9 +108,9 @@ export function usePageSearch< ...@@ -108,9 +108,9 @@ export function usePageSearch<
await search() await search()
} }
const refresh = () => { const refresh = async () => {
searchParams.value[pageField] = 1 searchParams.value[pageField] = 1
search() await search()
} }
// 清空搜索数据和列表 // 清空搜索数据和列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment