diff --git a/driver/js/packages/hippy-vue/src/native/index.ts b/driver/js/packages/hippy-vue/src/native/index.ts index 7c34b8d2e63..3f9a44943b1 100644 --- a/driver/js/packages/hippy-vue/src/native/index.ts +++ b/driver/js/packages/hippy-vue/src/native/index.ts @@ -478,7 +478,7 @@ function renderToNative(rootViewId, targetNode, refInfo = {}, notUpdateStyle = f // use defaultNativeStyle later to avoid incorrect compute style from inherit node // in beforeRenderToNative hook if (targetNode.meta.component.defaultNativeStyle) { - style = { ...targetNode.meta.component.defaultNativeStyle, ...resultStyle }; + resultStyle = { ...targetNode.meta.component.defaultNativeStyle, ...resultStyle }; } } // Translate to native node