feat: no data use field
This commit is contained in:
parent
583fdad68b
commit
e07f764bf6
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
size?: number;
|
||||
useField?: boolean;
|
||||
}>();
|
||||
</script>
|
||||
<template>
|
||||
|
|
@ -12,6 +13,8 @@ defineProps<{
|
|||
width: size ? `${size + 2}px` : '123px',
|
||||
}"
|
||||
/>
|
||||
<div class="app-text-muted text-center">{{ $t('noData') }}</div>
|
||||
<div class="app-text-muted text-center">
|
||||
{{ useField ? $t('noField') : $t('noData') }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue