From f2bcda1cd4848151c4044bc4c8bdb7c2b6b2911b Mon Sep 17 00:00:00 2001 From: zhang1106 <849185023@qq.com> Date: Fri, 10 Apr 2026 13:57:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E7=A9=BA=E9=97=B2=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=AE=A1=E7=90=86=E4=B8=AD=E7=9A=84=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E8=AE=BE=E7=BD=AE=E4=B8=BAnull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复当设备从机架移除时,位置信息应清空的问题 --- frontend/src/pages/IdleDeviceManagement.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/IdleDeviceManagement.jsx b/frontend/src/pages/IdleDeviceManagement.jsx index f384e45..d8131c6 100644 --- a/frontend/src/pages/IdleDeviceManagement.jsx +++ b/frontend/src/pages/IdleDeviceManagement.jsx @@ -167,7 +167,7 @@ const IdleDeviceManagement = () => { powerConsumption: record.powerConsumption, roomId: roomId, rackId: record.rackId, - position: record.position, + position: null, description: record.description, }); if (record.rackId) {