Commit 0461f377364a4494819a9f0f68d8328100735bd9
Merge branch 'ww' into 'main'
fix: DEFECT-1047 commondType is service will json editor value is service value See merge request yunteng/thingskit-front!483
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) { | ... | ... |