refactor(ui): 深度翻新仪表盘与边缘配置页的骨架与组件

这个提交包含在:
2026-03-06 09:54:14 +08:00
父节点 73b51ac068
当前提交 fe55848f75
共修改 9 个文件,包含 58 行新增和 66 行删除
+2 -3
查看文件
@@ -14,7 +14,6 @@ import { isApiError } from "../api/types";
import { PageHeader } from "../components/common/PageHeader";
import { TableSkeleton } from "../components/common/TableSkeleton";
import { Button } from "../components/ui/button";
import { Card } from "../components/ui/card";
import { Label } from "../components/ui/label";
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "../components/ui/table";
@@ -139,7 +138,7 @@ export function FeatureFlagsPage() {
<p className="rounded-lg border border-red-200 bg-red-50 px-3 py-2 text-sm text-red-600">{error}</p>
) : null}
<Card className="space-y-4 p-6">
<div className="card-std space-y-4">
<h3 className="text-base font-semibold text-zinc-900">开关列表</h3>
{flagsQuery.isLoading ? <TableSkeleton columns={6} rows={2} /> : null}
@@ -346,7 +345,7 @@ export function FeatureFlagsPage() {
</Table>
</div>
) : null}
</Card>
</div>
</div>
);
}