|
|
@ -146,7 +146,7 @@ export default { |
|
|
|
} |
|
|
|
localStorage.setItem('userType', 'oper') |
|
|
|
Cookies.set('token', res.data.token) |
|
|
|
this.$router.replace({ name: 'home' }) |
|
|
|
this.$router.replace({ name: 'home' }).catch(()=>{}) |
|
|
|
}).catch(() => { }) |
|
|
|
}) |
|
|
|
}, 1000, { 'leading': true, 'trailing': false }) |
|
|
|