From d88fed78edbbfbd9edbab6c0dd9f211f1ff0562e Mon Sep 17 00:00:00 2001 From: XieYongHong <18010623010@163.com> Date: Sun, 16 Jul 2023 00:41:33 +0800 Subject: [PATCH] fix: bug#16436 --- src/views/rule-engine/Scene/Save/action/ListItem/CheckItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/rule-engine/Scene/Save/action/ListItem/CheckItem.vue b/src/views/rule-engine/Scene/Save/action/ListItem/CheckItem.vue index 1518e2a3..347911fb 100644 --- a/src/views/rule-engine/Scene/Save/action/ListItem/CheckItem.vue +++ b/src/views/rule-engine/Scene/Save/action/ListItem/CheckItem.vue @@ -67,7 +67,7 @@ const checkDeviceDelete = async () => { if (item!.selectorValues!.length === 1 && hasDevice) { const deviceDetail = deviceResp?.result?.data?.[0] - metadata = JSON.parse(deviceDetail?.metadata || '{}') // 只选中一个设备,以设备物模型为准 + metadata = JSON.parse(deviceDetail?.deriveMetadata || '{}') // 只选中一个设备,以设备物模型为准 } } if (!hasDevice) { // 某一个设备被删除