Commit 901952c6 authored by qinhaitao's avatar qinhaitao

fix: 🐛 bug

parent db1217a4
......@@ -61,7 +61,6 @@ export function formatUpdatedDataByProjection(dbData: any, projection: IPreUpdat
const originValue = get(key, updatedDbData) || 0
set(key, projection.$inc?.[key] + originValue, updatedDbData)
})
updatedDbData = merge({}, dbData, projection.$set)
}
if (!isEmpty(projection.$push)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment