mirror of https://github.com/node-red/node-red.git
Merge 3e8fc17f1f
into 1eb9aa0eed
commit
2a1550f3f2
|
@ -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