Skip to content

Commit

Permalink
Fix wrong return in newPage
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Apr 12, 2024
1 parent ceed921 commit 0e8d57c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0e8d57c

Please sign in to comment.