From 6ccd5083c0be6222007f12be36af8d9ed9a9900e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 15 Dec 2023 09:36:45 +0100 Subject: [PATCH] fix(vue3): prevent mixin leakage caused by inspection, fix #2037 (#2038) Co-authored-by: Himself65 --- packages/app-backend-vue3/src/components/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-backend-vue3/src/components/data.ts b/packages/app-backend-vue3/src/components/data.ts index 958f8b551..30718c760 100644 --- a/packages/app-backend-vue3/src/components/data.ts +++ b/packages/app-backend-vue3/src/components/data.ts @@ -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]) } } }