refactor(frontend): 重构前端第二版

This commit is contained in:
sophie committed 2026-06-11 13:47:06 +08:00
1 parent 2631f78b00
commit 4b562cfa82
205 files changed
+15399 -12015

No files matched your search

@@ -1,4 +1,4 @@
/**
/**
* features/admin/stores/admin-nav.store.ts
* 管理后台导航 UI 状态(侧栏折叠、报表展开、角标)。
*
@@ -7,7 +7,7 @@
*/
import { defineStore } from 'pinia';
import { ref } from 'vue';
import { getAdminDashboardBadges } from '@/api/admin';
import { getAdminDashboardBadges } from '@/features/admin/api/admin.api';
import type { AdminModuleId } from '../types/admin.types';
/** 角标缓存有效期(毫秒):此时间内 ensureBadges 直接复用内存中的计数 */