fix: 将空闲设备管理中的位置字段设置为null
修复当设备从机架移除时,位置信息应清空的问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user