Skip to content

Commit

Permalink
update(router): added #19 - router redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed Dec 16, 2023
1 parent 52ff288 commit fb5d2ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ const routes = [
component: () => import('../views/sponsor/afdian.vue')
}
]
},
{
path: "/:pathMatch(.*)*",
redirect: "/"
}
]

Expand Down

0 comments on commit fb5d2ee

Please sign in to comment.