fix(web): 修复 Dashboard 拆分后遗留问题
- dashboardConstants.ts → .tsx (包含 JSX 不能在 .ts 中) - dashboardTypes.ts: AggregateItem 从 pluginData 导入而非 plugins - PluginDashboardPage.tsx: 移除未使用的 Spin 导入
This commit is contained in:
@@ -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';
|
||||
|
||||
// ── 类型定义 ──
|
||||
|
||||
|
||||
Reference in New Issue
Block a user