fix(web): 修复 Dashboard 拆分后遗留问题

- dashboardConstants.ts → .tsx (包含 JSX 不能在 .ts 中)
- dashboardTypes.ts: AggregateItem 从 pluginData 导入而非 plugins
- PluginDashboardPage.tsx: 移除未使用的 Spin 导入
This commit is contained in:
iven
2026-04-17 12:53:35 +08:00
parent 0a57cd7030
commit 9fb73788f7
3 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
import type React from 'react';
import type { AggregateItem, DashboardWidget } from '../../api/plugins';
import type { AggregateItem } from '../../api/pluginData';
import type { DashboardWidget } from '../../api/plugins';
// ── 类型定义 ──