mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-06 03:57:54 +08:00
20 lines
466 B
Vue
20 lines
466 B
Vue
<template>
|
|
<n-tooltip placement="bottom" trigger="hover">
|
|
<template #trigger>
|
|
<HeaderButton @click="handleSearch">
|
|
<i-icon-park-outline-search class="text-18px" />
|
|
</HeaderButton>
|
|
</template>
|
|
<span>搜索</span>
|
|
</n-tooltip>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import HeaderButton from '../common/HeaderButton.vue';
|
|
const handleSearch = () => {
|
|
window.open('https://github.com/chen-see');
|
|
};
|
|
</script>
|
|
|
|
<style scoped></style>
|