feat(router): 优化路由排序逻辑并添加菜单排序权重支持
All checks were successful
CI/CD Pipeline / playwright (push) Successful in 2m8s
CI/CD Pipeline / build-and-deploy (push) Successful in 4m21s

This commit is contained in:
严浩
2025-10-24 11:08:54 +08:00
parent 07eae7cab7
commit 990f2811ae
5 changed files with 51 additions and 7 deletions

View File

@@ -1,10 +1,6 @@
import { autoAnimatePlugin } from '@formkit/auto-animate/vue';
export function install({ app }: { app: import('vue').App<Element> }) {
app.config.globalProperties.__DEV__ = __DEV__;
app.use(autoAnimatePlugin); // v-auto-animate="{ duration: 100 }"
app.config.errorHandler = (error, instance, info) => {
console.error('Global error:', error);
console.error('Component:', instance);