refactor: 重构 Drawer 布局,合并趋势 tab、优化时间选择器和记录表格
- 移除 Drawer 底部确定/取消按钮 - 快捷时间段按钮中文化,时间选择器分两行显示 - DateRangePicker 时间精度改为分钟级 - 三 tab 合并为两 tab,趋势图移入概览面板并添加小标题分隔 - 记录表格:状态列改用 StatusDot,详情列合并错误信息,时间格式统一,耗时单位移至列标题 - 切换目标时通过 key 重置 Drawer 组件状态 - StatusDonut 居中,Tab 内容区域添加 padding - 同步更新 openspec specs
This commit is contained in:
@@ -42,6 +42,7 @@ export function App() {
|
||||
)}
|
||||
|
||||
<TargetDetailDrawer
|
||||
key={selectedTarget?.id}
|
||||
target={selectedTarget}
|
||||
trendData={trendData}
|
||||
trendLoading={trendLoading}
|
||||
|
||||
Reference in New Issue
Block a user