From f566c8709dd5b22b7e2511cf8fbdb03b8c970640 Mon Sep 17 00:00:00 2001 From: "Jose A. Cabaneros" Date: Fri, 2 Aug 2024 11:17:59 +0200 Subject: [PATCH] fix(renderless-extra-params): binding props to the default slot as raw --- .../extra-params/components/renderless-extra-param.vue | 2 +- .../src/x-modules/scroll/components/main-scroll.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/x-components/src/x-modules/extra-params/components/renderless-extra-param.vue b/packages/x-components/src/x-modules/extra-params/components/renderless-extra-param.vue index a5c46e5f95..6395c9950d 100644 --- a/packages/x-components/src/x-modules/extra-params/components/renderless-extra-param.vue +++ b/packages/x-components/src/x-modules/extra-params/components/renderless-extra-param.vue @@ -37,7 +37,7 @@ xBus.emit('UserChangedExtraParams', { [props.name]: newValue }); } - return () => slots.default?.({ value, updateValue })[0] ?? ''; + return () => slots.default?.({ value: value.value, updateValue })[0] ?? ''; } }); diff --git a/packages/x-components/src/x-modules/scroll/components/main-scroll.vue b/packages/x-components/src/x-modules/scroll/components/main-scroll.vue index 745ec33f5a..991d0e899c 100644 --- a/packages/x-components/src/x-modules/scroll/components/main-scroll.vue +++ b/packages/x-components/src/x-modules/scroll/components/main-scroll.vue @@ -3,7 +3,6 @@ computed, defineComponent, getCurrentInstance, - h, onBeforeUnmount, onMounted, provide,