Skip to content

Commit

Permalink
fix(vue3): prevent mixin leakage caused by inspection, fix #2037 (#2038)
Browse files Browse the repository at this point in the history
Co-authored-by: Himself65 <himself65@outlook.com>
  • Loading branch information
lehni and himself65 committed Dec 15, 2023
1 parent bc09ebf commit 6ccd508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-backend-vue3/src/components/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ function mergeOptions (
if (!to[key]) {
to[key] = from[key]
} else {
Object.assign(to[key], from[key])
to[key] = Object.assign(Object.create(null), to[key], from[key])
}
}
}
Expand Down

0 comments on commit 6ccd508

Please sign in to comment.