Explorar o código

[ui] Vue 3 - Web Component Wrapper - Remove dataVApp befoee sending it as prop

sreenaths %!s(int64=4) %!d(string=hai) anos
pai
achega
c39ed2d173
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      desktop/core/src/desktop/js/vue/wrapper/index.ts

+ 1 - 0
desktop/core/src/desktop/js/vue/wrapper/index.ts

@@ -98,6 +98,7 @@ export default function wrap(component: Component): CustomElementConstructor {
       this._wrapper = createApp({
         render() {
           const props = Object.assign({}, self._props, eventProxies);
+          delete props.dataVApp;
           return h(componentObj, props, () => self._slotChildren);
         },
         mounted() {