feat: 添加 eslint-plugin-perfectionist 插件,优化导入排序规则
All checks were successful
/ playwright (push) Successful in 1m27s
/ depcheck (push) Successful in 1m38s
/ build-and-deploy-to-vercel (push) Successful in 2m44s

This commit is contained in:
mini2024
2025-01-21 23:03:42 +08:00
parent a7b6d6ea75
commit b0cd8b7c61
14 changed files with 115 additions and 13 deletions

View File

@ -1,7 +1,8 @@
<script setup lang="ts">
import { createGetRoutes } from '@/plugins/router';
import type { MenuItem } from 'primevue/menuitem';
import { createGetRoutes } from '@/plugins/router';
const router = useRouter();
type MenuItemWithRoute = MenuItem & { routeName?: string };