Skip to content

Commit

Permalink
fix(projects): fix function mergeObject
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 16, 2024
1 parent 95a2af6 commit 3311302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/core/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function mergeObject<T extends Record<string, unknown>>(target: T, source: T) {

keys.forEach(key => {
if (!target[key]) {
Object.assign(target, source[key]);
Object.assign(target, { [key]: source[key] });
}
});
}
Expand Down

0 comments on commit 3311302

Please sign in to comment.