diff --git a/src/components/ui/VnFilterPanel.vue b/src/components/ui/VnFilterPanel.vue index 4c232d26f..9cd5a052f 100644 --- a/src/components/ui/VnFilterPanel.vue +++ b/src/components/ui/VnFilterPanel.vue @@ -26,7 +26,7 @@ const props = defineProps({ }, }); -const emit = defineEmits(['refresh', 'clear']); +const emit = defineEmits(['refresh', 'clear', 'search']); const arrayData = useArrayData(props.dataKey); const store = arrayData.store; @@ -49,6 +49,7 @@ async function search() { if (!props.showAll && !Object.values(params).length) store.data = []; isLoading.value = false; + emit('search'); } async function reload() { diff --git a/src/pages/Shelving/Card/ShelvingCard.vue b/src/pages/Shelving/Card/ShelvingCard.vue index bdcae4a95..f16e0a718 100644 --- a/src/pages/Shelving/Card/ShelvingCard.vue +++ b/src/pages/Shelving/Card/ShelvingCard.vue @@ -1,15 +1,11 @@