fix: the deleted node will produce the wrong index in ops
This commit is contained in:
parent
0f7c02605a
commit
a8d37cc58f
|
@ -474,7 +474,7 @@ class Producer extends EventEmitter2 {
|
||||||
ldOp.oldPath || [],
|
ldOp.oldPath || [],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const strP = op.p.join(',');
|
const strP = aOp.p.join(',');
|
||||||
const strLdP = ldOp.p.join(',');
|
const strLdP = ldOp.p.join(',');
|
||||||
// 相等,不需要增加
|
// 相等,不需要增加
|
||||||
if (!has && strP === strLdP) {
|
if (!has && strP === strLdP) {
|
||||||
|
|
Loading…
Reference in New Issue