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) => ( -