mirror of
https://github.com/yibaiba/hideck.git
synced 2026-12-06 00:01:20 +00:00
20 lines
425 B
Vue
20 lines
425 B
Vue
<script setup lang="ts">
|
|
import { ArrowSync24Regular } from '@vicons/fluent'
|
|
|
|
defineProps<{
|
|
loading?: boolean
|
|
disabled?: boolean
|
|
}>()
|
|
|
|
defineEmits<{
|
|
(e: 'click'): void
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<el-button :loading="loading" :disabled="disabled" class="!border-0 !bg-white/70 dark:!bg-white/5 ui-action-btn" @click="$emit('click')">
|
|
<el-icon><ArrowSync24Regular /></el-icon>
|
|
刷新
|
|
</el-button>
|
|
</template>
|