@web-widget/vue 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.server.js +1 -1
- package/package.json +1 -1
package/dist/vue.server.js
CHANGED
|
@@ -158,7 +158,7 @@ var defineVueRender = ({
|
|
|
158
158
|
} = {}) => {
|
|
159
159
|
return defineRender(async (context, component, props) => {
|
|
160
160
|
const state = onPrefetchData ? await onPrefetchData(context, component, props) : void 0;
|
|
161
|
-
const mergedProps = state ? Object.assign(
|
|
161
|
+
const mergedProps = state ? Object.assign(state, props) : props;
|
|
162
162
|
if (state) {
|
|
163
163
|
const stateStringify = htmlEscapeJsonString(JSON.stringify(state));
|
|
164
164
|
const vNode = h2(Fragment, null, [
|