Skip to content

Commit 455ac13

Browse files
committed
WIP update layout
1 parent de82539 commit 455ac13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Layout.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ export default {
7575
},
7676
methods: {
7777
logout () {
78+
var vm = this
7879
this.$auth.logout().then(() => {
79-
this.$route.push('/login')
80+
this.$router.push('/login')
8081
})
8182
}
8283
},

0 commit comments

Comments
 (0)