chore: /admin/usage页面增加一个刷新按钮

This commit is contained in:
shaw
2026-02-07 19:13:43 +08:00
parent 6aaa4aee6a
commit f3605ddc71
2 changed files with 6 additions and 1 deletions

View File

@@ -154,6 +154,9 @@
<!-- Right: actions -->
<div v-if="showActions" class="flex w-full flex-wrap items-center justify-end gap-3 sm:w-auto">
<button type="button" @click="$emit('refresh')" class="btn btn-secondary">
{{ t('common.refresh') }}
</button>
<button type="button" @click="$emit('reset')" class="btn btn-secondary">
{{ t('common.reset') }}
</button>
@@ -194,6 +197,7 @@ const emit = defineEmits([
'update:startDate',
'update:endDate',
'change',
'refresh',
'reset',
'export',
'cleanup'