mirror of https://github.com/node-red/node-red.git
Let split node send original msg to complete
parent
1eb9aa0eed
commit
3e8fc17f1f
|
@ -151,10 +151,11 @@ module.exports = function(RED) {
|
|||
if (node.arraySplt === 1) {
|
||||
m = m[0];
|
||||
}
|
||||
RED.util.setMessageProperty(msg,node.property,m);
|
||||
msg.parts.index = i;
|
||||
const newmsg = RED.util.cloneMessage(msg)
|
||||
RED.util.setMessageProperty(newmsg,node.property,m);
|
||||
newmsg.parts.index = i;
|
||||
pos += node.arraySplt;
|
||||
send(RED.util.cloneMessage(msg));
|
||||
send(newmsg);
|
||||
}
|
||||
done();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue