hear 3 лет назад
Родитель
Сommit
5b175953dc

+ 1 - 1
src/pages/rule-engine/Scene/Save/action/DeviceOutput/device/index.tsx

@@ -397,7 +397,7 @@ export default observer((props: Props) => {
                   DeviceModel.deviceId = 'deviceId';
                   DeviceModel.source = 'upper';
                   DeviceModel.selectorValues = value;
-                  DeviceModel.upperKey = 'deviceId';
+                  DeviceModel.upperKey = 'scene.deviceId';
                   DeviceModel.relationName = options.label;
                 }
               }}

+ 1 - 1
src/pages/rule-engine/Scene/Save/action/DeviceOutput/index.tsx

@@ -115,7 +115,7 @@ export default observer((props: Props) => {
       item.selector = 'fixed';
     }
     if (DeviceModel.selector === 'relation') {
-      item.upperKey = 'deviceId';
+      item.upperKey = 'scene.deviceId';
     }
     // console.log(item, value);