fix: the deleted node will produce the wrong index in ops

This commit is contained in:
yanmao 2021-12-26 01:14:56 +08:00
parent 0f7c02605a
commit a8d37cc58f
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ class Producer extends EventEmitter2 {
ldOp.oldPath || [],
);
}
const strP = op.p.join(',');
const strP = aOp.p.join(',');
const strLdP = ldOp.p.join(',');
// 相等,不需要增加
if (!has && strP === strLdP) {