Showing
1 changed file
with
3 additions
and
1 deletions
@@ -40,7 +40,9 @@ export const useSort = ( | @@ -40,7 +40,9 @@ export const useSort = ( | ||
40 | inited = true; | 40 | inited = true; |
41 | } | 41 | } |
42 | 42 | ||
43 | - onMounted(() => handleSort()); | 43 | + onMounted(async () => { |
44 | + setTimeout(() => handleSort(), 500); | ||
45 | + }); | ||
44 | 46 | ||
45 | return { containerEl }; | 47 | return { containerEl }; |
46 | }; | 48 | }; |