Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if (window.localStorage.getItem('token')) {
}

const router = new VueRouter({
routes
router: routes
});

router.beforeEach((to, from, next) => {
Expand All @@ -60,4 +60,4 @@ router.beforeEach((to, from, next) => {
}
})

export default router;
export default router;