feat: 添加返回导航图标
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
fyy
2025-07-29 11:42:20 +08:00
parent fb537fdc00
commit ce445ae088
4 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
<script setup lang="ts">
import { ArrowLeft } from '@vben/icons';
import { VbenIconButton } from '@vben-core/shadcn-ui';
import { useRouter } from 'vue-router';
const router = useRouter();
const back = () => {
router.push('/navigation');
}
</script>
<template>
<VbenIconButton @click="back">
<ArrowLeft></ArrowLeft>
</VbenIconButton>
</template>