mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-06 03:57:54 +08:00
23 lines
524 B
Vue
23 lines
524 B
Vue
<template>
|
|
<n-tooltip placement="bottom" trigger="hover">
|
|
<template #trigger>
|
|
<HeaderButton @click="handleReload">
|
|
<i-icon-park-outline-refresh class="text-18px" />
|
|
</HeaderButton>
|
|
</template>
|
|
<span>刷新页面</span>
|
|
</n-tooltip>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import HeaderButton from '../common/HeaderButton.vue';
|
|
import { useAppStore } from '@/store';
|
|
const appStore = useAppStore();
|
|
|
|
const handleReload = () => {
|
|
appStore.reloadPage();
|
|
};
|
|
</script>
|
|
|
|
<style scoped></style>
|