多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
561 B

<script setup lang="ts">
import { ReloadViewDataHookInj, inject } from '#imports'
const { $e } = useNuxtApp()
const reloadHook = inject(ReloadViewDataHookInj)!
const onClick = () => {
$e('a:table:reload:navbar')
reloadHook.trigger()
}
</script>
<template>
<a-tooltip placement="bottom">
<template #title> {{ $t('general.reload') }} </template>
<div class="group flex align-center">
<MdiReload class="cursor-pointer text-gray-500 group-hover:(text-primary) nc-toolbar-reload-btn" @click="onClick" />
</div>
</a-tooltip>
</template>