Merge branch 'dev' of gitea.51mars.com:Oak-Team/oak-frontend-base into dev
This commit is contained in:
commit
26a3321729
|
|
@ -26,7 +26,7 @@ function mergeOperation(schema, entity, oper1, oper2) {
|
|||
oper1.action = action;
|
||||
}
|
||||
else {
|
||||
assert(false, '不应当有冲突的update模式');
|
||||
assert(action === oper1.action, '不应当有冲突的update模式');
|
||||
}
|
||||
}
|
||||
const { data: dataMerged } = operMerged;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ function mergeOperation(schema, entity, oper1, oper2) {
|
|||
oper1.action = action;
|
||||
}
|
||||
else {
|
||||
(0, assert_1.assert)(false, '不应当有冲突的update模式');
|
||||
(0, assert_1.assert)(action === oper1.action, '不应当有冲突的update模式');
|
||||
}
|
||||
}
|
||||
const { data: dataMerged } = operMerged;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ function mergeOperation<ED extends EntityDict & BaseEntityDict, T extends keyof
|
|||
oper1.action = action;
|
||||
}
|
||||
else {
|
||||
assert(false, '不应当有冲突的update模式');
|
||||
assert(action === oper1.action, '不应当有冲突的update模式');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue