<template>
  <el-tooltip effect="dark" content="刷新" placement="bottom" :show-after="200">
    <div class="toolbar-icon-container refresh-btn" @click="refresh">
      <i class="toolBar-icon iconfont iconRefresh_light"></i>
    </div>
  </el-tooltip>
</template>

<script setup lang="ts">
const emit = defineEmits(["gotoRefresh"]);

const refresh = () => emit("gotoRefresh");
</script>
