Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed May 19, 2024
1 parent 2b77a53 commit 1995208
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/client/src/router/createVueRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const createVueRouter = (): Router => {
router.beforeResolve(async (to, from): Promise<string | void> => {
if (to.path !== from.path || from === START_LOCATION) {
const route = resolveRoute(to.fullPath)

if (route.path !== to.fullPath) {
return route.path
}
Expand Down

0 comments on commit 1995208

Please sign in to comment.