Commit b5b22182 authored by chenqikuai's avatar chenqikuai

fix

parent a3095a01
export const sleep = (ms: number) => export const sleep = (ms: number) =>
new Promise((resolve) => setTimeout(resolve, ms)); new Promise((resolve) => setTimeout(resolve, ms));
/**
* 在最大并发数MAX_REQUEST_NUM下,执行请求。
* @param promiseArray
* @param MAX_REQUEST_NUM
*/
export const executePromiseArray = async ( export const executePromiseArray = async (
promiseArray: (() => Promise<any>)[], promiseArray: (() => Promise<any>)[],
MAX_REQUEST_NUM = 8 MAX_REQUEST_NUM = 8
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
:list="tableData" :list="tableData"
@select=" @select="
(v) => { (v) => {
$emit('select', v); $emit('select', v);
$emit('update:visible', false); $emit('update:visible', false);
} }
" "
...@@ -99,6 +99,7 @@ const { tableData, fetchNextPage, refetch, loading } = useTableData({ ...@@ -99,6 +99,7 @@ const { tableData, fetchNextPage, refetch, loading } = useTableData({
page, page,
page_size, page_size,
name: searchInput.value, name: searchInput.value,
ignore_empty: true,
}, },
}); });
return { return {
......
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