1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| <script setup lang="ts">
| import { $t } from '@/locales';
|
| defineOptions({
| name: 'ReloadButton'
| });
|
| interface Props {
| loading?: boolean;
| }
|
| defineProps<Props>();
| </script>
|
| <template>
| <ButtonIcon :tooltip-content="$t('icon.reload')">
| <icon-ant-design-reload-outlined :class="{ 'animate-spin animate-duration-750': loading }" />
| </ButtonIcon>
| </template>
|
| <style scoped></style>
|
|