From f46d858f5ee17126fcba9d43afa042bed853f96a Mon Sep 17 00:00:00 2001 From: freedakgmail Date: Thu, 30 Jul 2026 09:53:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=97=A8=E5=BA=97=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5loading=E6=94=B9=E7=94=A8LoadingSpinner=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E7=BB=9F=E4=B8=80=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/pages/StoreDetailPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/pages/StoreDetailPage.tsx b/client/src/pages/StoreDetailPage.tsx index 90f907f..7282f23 100644 --- a/client/src/pages/StoreDetailPage.tsx +++ b/client/src/pages/StoreDetailPage.tsx @@ -7,6 +7,7 @@ import { Badge } from '@/components/Badge' import { DataTable } from '@/components/DataTable' import { Pagination } from '@/components/Pagination' import { FilterableTable } from '@/components/FilterableTable' +import { LoadingSpinner } from '@/components/LoadingSpinner' import { formatCurrency, formatPercent, formatNumber } from '@/lib/utils' import { ArrowLeft } from 'lucide-react' import { useState } from 'react' @@ -85,7 +86,7 @@ export function StoreDetailPage() { const anomalyRows = ((anomalyData as any)?.data) || [] const anomalyTotal = (anomalyData as any)?.meta?.total || 0 - if (!sd) return
加载中...
+ if (!sd) return const sc = sd.scorecard const action = sd.action const risk = sd.risk