Store_Vuex init...

This commit is contained in:
최준흠 2022-09-13 12:50:36 +09:00
parent b869515983
commit 17536ed937

View File

@ -61,11 +61,7 @@ export default {
methods: { methods: {
redirect() { redirect() {
if (!this.isAuthenticated && this.$router.name != 'home') { if (!this.isAuthenticated && this.$router.name != 'home') {
this.$router this.$router.push({ name: 'home' }).catch((e) => {
.push({
name: 'home'
})
.catch((e) => {
console.log(e + ':' + this.$router) console.log(e + ':' + this.$router)
}) })
} }