From 686552ba230bd63f5f156877bb3756db904333c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AC=94=E8=AE=B0=E6=9C=AC=E9=87=8C=E7=9A=84=E6=B0=B8?= =?UTF-8?q?=E5=B9=B3?= Date: Thu, 17 Jul 2025 17:01:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9C=AC=E6=AC=A1=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=86=85=E5=AE=B9=E5=A6=82=E4=B8=8B=20?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cunkebao/src/components/DeviceSelection.tsx | 6 +- .../src/components/DeviceSelectionDialog.tsx | 94 +++++++++---------- Cunkebao/src/components/FriendSelection.tsx | 4 +- Cunkebao/src/components/GroupSelection.tsx | 4 +- 4 files changed, 53 insertions(+), 55 deletions(-) diff --git a/Cunkebao/src/components/DeviceSelection.tsx b/Cunkebao/src/components/DeviceSelection.tsx index 4c670af0..facb7086 100644 --- a/Cunkebao/src/components/DeviceSelection.tsx +++ b/Cunkebao/src/components/DeviceSelection.tsx @@ -120,7 +120,7 @@ export default function DeviceSelection({ {/* 设备选择弹窗 */} - + 选择设备 @@ -146,7 +146,7 @@ export default function DeviceSelection({ - +
{loading ? (
加载中...
@@ -185,7 +185,7 @@ export default function DeviceSelection({ ))}
)} - +
diff --git a/Cunkebao/src/components/DeviceSelectionDialog.tsx b/Cunkebao/src/components/DeviceSelectionDialog.tsx index 67f4d1d0..417a23f3 100644 --- a/Cunkebao/src/components/DeviceSelectionDialog.tsx +++ b/Cunkebao/src/components/DeviceSelectionDialog.tsx @@ -122,7 +122,7 @@ export function DeviceSelectionDialog({ return ( - + 选择设备 @@ -160,54 +160,52 @@ export function DeviceSelectionDialog({
-
-
- {loading ? ( -
- 加载中... -
- ) : filteredDevices.length === 0 ? ( -
- 暂无数据 -
- ) : ( - filteredDevices.map((device) => ( -