fix: search not found message

This commit is contained in:
puriphatt 2024-06-28 02:37:37 +00:00
parent 32449e7c4c
commit f183216a1f
4 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,7 @@
defineProps<{
size?: number;
useField?: boolean;
notFound?: boolean;
}>();
</script>
<template>
@ -14,7 +15,7 @@ defineProps<{
}"
/>
<div class="app-text-muted text-center">
{{ useField ? $t('noField') : $t('noData') }}
{{ notFound ? $t('notFound') : useField ? $t('noField') : $t('noData') }}
</div>
</div>
</template>