From 44e301383697a53d08229fb50fe9ba4f236827a6 Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Mon, 25 May 2026 13:27:52 +0800 Subject: [PATCH] xx --- .../SystemSetting/DeviceManagement.tsx | 34 +++++++++++++++---- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/src/components/SystemSetting/DeviceManagement.tsx b/src/components/SystemSetting/DeviceManagement.tsx index a71550c..79b8506 100644 --- a/src/components/SystemSetting/DeviceManagement.tsx +++ b/src/components/SystemSetting/DeviceManagement.tsx @@ -349,6 +349,7 @@ export default function DeviceManagementPage() { setBindModalVisible(false); setSiteOptions([]); setUserOptions([]); + bindForm.resetFields(); // 加一句重置,避免缓存 }} onOk={() => bindForm.submit()} width={500} @@ -358,6 +359,7 @@ export default function DeviceManagementPage() { + {/* ========== 修复:组织 ========== */} + {/* ========== 修复:场站 ========== */} + {/* ========== 修复:用户 ========== */} - + ) : ( // 显示原来的设备列表 @@ -440,7 +459,8 @@ export default function DeviceManagementPage() { }} /> - )} - + ) + } + ); }