Commit 46ac529dc8708f36b801b8cd7d8f2cae06cd7319
1 parent
9e674033
fix: DEFECT-1047 commondType is service will json editor value is service value
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | ... | @@ -399,7 +399,9 @@ |
| 399 | 399 | }); |
| 400 | 400 | // 如果是设备输出设置脚本值 |
| 401 | 401 | if (action.outTarget === 'DEVICE_OUT') { |
| 402 | - unref(skipUnwrap.actionItemRefs)[index].setJsonValue(action.doContext.params); | |
| 402 | + if (action.commandType.toString() === '0') { | |
| 403 | + unref(skipUnwrap.actionItemRefs)[index].setJsonValue(action.doContext.params); | |
| 404 | + } | |
| 403 | 405 | } |
| 404 | 406 | // 清除告警有值?{数组} |
| 405 | 407 | if (action?.doContext?.clearRule?.length) { | ... | ... |