From 0e8d57c8fb2f1cef2e9d114e00eda2ed3f5e4189 Mon Sep 17 00:00:00 2001 From: Mirko Brombin Date: Fri, 12 Apr 2024 22:18:02 +0200 Subject: [PATCH] Fix wrong return in newPage --- example/src/views/Home.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example/src/views/Home.vue b/example/src/views/Home.vue index d488fa6..f80c677 100644 --- a/example/src/views/Home.vue +++ b/example/src/views/Home.vue @@ -431,7 +431,10 @@ export default defineComponent({ methods: { newPage() { console.log("New page"); - return shallowRef({ component: Dummy }); + return { + component: shallowRef(Dummy), + props: {}, + }; }, showModal() { this.modalShowing = !this.modalShowing;